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

Problem in lod_declare_update_plain()

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.11.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      An extra '&' was in lod_declare_update_plain () as follows:

      comp_v1 = (struct lov_comp_md_v1 *)&info->lti_buf.lb_buf;
      

      This will cause invalid memory region to be accessed in replay path.

      Attachments

        Activity

          [LU-10050] Problem in lod_declare_update_plain()

          It has been merged.

          jay Jinshan Xiong (Inactive) added a comment - It has been merged.

          Jinshan,

          Is this needed for master or has it already been incorporated? I see it only exists on the flr branch.

          Thanks.
          Joe

          jgmitter Joseph Gmitter (Inactive) added a comment - Jinshan, Is this needed for master or has it already been incorporated? I see it only exists on the flr branch. Thanks. Joe

          Jinshan Xiong (jinshan.xiong@intel.com) merged in patch https://review.whamcloud.com/29269/
          Subject: LU-10050 lod: suspicious buffer reference in lod replay
          Project: fs/lustre-release
          Branch: flr
          Current Patch Set:
          Commit: b601f8997dd5c666d49fc2e2ea15196dfc917a2d

          gerrit Gerrit Updater added a comment - Jinshan Xiong (jinshan.xiong@intel.com) merged in patch https://review.whamcloud.com/29269/ Subject: LU-10050 lod: suspicious buffer reference in lod replay Project: fs/lustre-release Branch: flr Current Patch Set: Commit: b601f8997dd5c666d49fc2e2ea15196dfc917a2d

          Jinshan Xiong (jinshan.xiong@intel.com) uploaded a new patch: https://review.whamcloud.com/29269
          Subject: LU-10050 lod: suspicious buffer reference in lod replay
          Project: fs/lustre-release
          Branch: flr
          Current Patch Set: 1
          Commit: 4e00d544b019fddcf8d9dc509e54b433237f88fc

          gerrit Gerrit Updater added a comment - Jinshan Xiong (jinshan.xiong@intel.com) uploaded a new patch: https://review.whamcloud.com/29269 Subject: LU-10050 lod: suspicious buffer reference in lod replay Project: fs/lustre-release Branch: flr Current Patch Set: 1 Commit: 4e00d544b019fddcf8d9dc509e54b433237f88fc

          People

            jay Jinshan Xiong (Inactive)
            jay Jinshan Xiong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: