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)

Reply via email to