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

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

      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.

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

              Created:
              Updated:
              Resolved: