Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-2753 Tracking bug for static code analysis fixes.
  3. LU-1857

Coverity: Fix 'Unbounded source buffer' errors

    XMLWordPrintable

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

            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: