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

Check changlog record size in liblustreapi_chlg.c

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Add protection during changelog record copy. The size of the changelog is not currently checked, which could cause memory corruption. There is a "TODO" comment mentioning something similar, "check changelog_rec_size" which was added in https://review.whamcloud.com/c/fs/lustre-release/+/18900 when the original code was written.

      Attachments

        Activity

          [LU-16513] Check changlog record size in liblustreapi_chlg.c

          "Timothy Day <timday@amazon.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49813
          Subject: LU-16513 changelog: record size protection
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 3345a6506a9d6f0b366294a5b12d2701b8cd55cd

          gerrit Gerrit Updater added a comment - "Timothy Day <timday@amazon.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49813 Subject: LU-16513 changelog: record size protection Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 3345a6506a9d6f0b366294a5b12d2701b8cd55cd

          People

            timday Tim Day
            timday Tim Day
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: