Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-13117

Wrong job id parsing in cfs_get_environ()

XMLWordPrintable

    • 3
    • 9223372036854775807

      It does the memcmp() to match the environment variable with the desired key, then accounts for the "=" when calculating length. But it fails to check that the next character is actually an equal sign. In the case of any key which is also the prefix to some other variable.

            wshilong Wang Shilong (Inactive)
            wshilong Wang Shilong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: