commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Krzeminski (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DAEMON-390) PATH environment variable is not properly set if using LibraryPath option
Date Mon, 03 Sep 2018 13:58:00 GMT
Robert Krzeminski created DAEMON-390:
----------------------------------------

             Summary: PATH environment variable is not properly set if using LibraryPath option
                 Key: DAEMON-390
                 URL: https://issues.apache.org/jira/browse/DAEMON-390
             Project: Commons Daemon
          Issue Type: Bug
          Components: Procrun
    Affects Versions: 1.1.0
            Reporter: Robert Krzeminski
         Attachments: apxAddToPathW-1-1-1-0.patch

The PATH environment variable is not properly set if command line option LibraryPath is used.
It shall extend the existing PATH variable with additional directories defined as library
path. In the current implementation the wrong buffer size for the retrieved environment variable
is passed during the call to GetEnvironmentVariableW from utility function apxAddToPathW
(utils.c). Attached a patch that contains the fix for this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message