Uploaded image for project: 'Commons Daemon'
  1. Commons Daemon
  2. DAEMON-390

PATH environment variable is not properly set if using LibraryPath option

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.1.0
    • None
    • Procrun
    • Patch

    Description

      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.

      Attachments

        1. apxAddToPathW-1-1-1-0.patch
          0.6 kB
          Robert Krzeminski
        2. utils.patch
          2 kB
          Sebb

        Issue Links

          Activity

            People

              Unassigned Unassigned
              krezemin Robert Krzeminski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: