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

Wrong job id parsing in cfs_get_environ()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Lustre 2.14.0, Lustre 2.12.5
    • Labels:
      None
    • Severity:
      3
    • Rank (Obsolete):
      9223372036854775807

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              wshilong Wang Shilong
              Reporter:
              wshilong Wang Shilong
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: