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

quash memcpy WARN_ONCE false positives

    XMLWordPrintable

Details

    • 3
    • 9223372036854775807

    Description

      Linux v6.1-rc1-4-g6f7630b1b5bc
      fortify: Capture __bos() results in const temp var

      [__fortify_memcpy_chk] added a WARN_ONCE for runtime detection of detected field-spanning write.

      This triggers with structs that have zero sized, or flexible array members (Typically data headers with sized payloads).

      Currently lustre sizes and checks these objects appropriately.

      Attachments

        Activity

          People

            stancheff Shaun Tancheff
            stancheff Shaun Tancheff
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: