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

config instance truncation due to buffer size mismatch

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0, Lustre 2.12.1
    • Lustre 2.12.0, Lustre 2.13.0
    • None
    • 9223372036854775807

    Description

      The formatting of the cfg_instance variable was changed in patch https://review.whamcloud.com/33900 "LU-11809 llite: don't use %p to generate cfg_instance" to always use a fixed "%016llu" format, but the temporary buffer allocations for the instance string were not changed to match the printed value.

      This results in string truncation in some situations.

      Attachments

        Issue Links

          Activity

            People

              adilger Andreas Dilger
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: