Details

    • Technical task
    • Resolution: Fixed
    • Minor
    • Lustre 2.4.0
    • Lustre 2.4.0, Lustre 2.1.3
    • 4351

    Description

      Thanks to the Coverity tool, we found some memory corruptions in the Lustre code, and more specifically cases of unbounded source buffers.
      This is typically where we should use strncpy() instead of strcpy() or snprintf() instead of sprintf() because the size of the source buffer is not known.

      I will propose a patch to address the issues.

      Attachments

        Issue Links

          Activity

            [LU-1857] Coverity: Fix 'Unbounded source buffer' errors
            pjones Peter Jones added a comment -

            Landed for 2.4

            pjones Peter Jones added a comment - Landed for 2.4
            pjones Peter Jones added a comment -

            Thanks for the patch Sebastien. Bob can you please take care of getting this landed?

            pjones Peter Jones added a comment - Thanks for the patch Sebastien. Bob can you please take care of getting this landed?

            The patch is available here:
            http://review.whamcloud.com/3904

            Could you please review it?

            sebastien.buisson Sebastien Buisson (Inactive) added a comment - The patch is available here: http://review.whamcloud.com/3904 Could you please review it?

            People

              bogl Bob Glossman (Inactive)
              sebastien.buisson Sebastien Buisson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: