Messages in this thread | | | Date | Thu, 11 Apr 2024 13:35:05 +0200 | From | "Arnd Bergmann" <> | Subject | Re: [PATCH] [RFC] xfrm: work around a clang-19 fortifiy-string false-positive |
| |
On Wed, Apr 10, 2024, at 19:45, Nathan Chancellor wrote:
> Unfortunately, I have no idea why it is complaining nor why your patch > resolves it but the combination of FORTIFY_SOURCE and KASAN certainly > seems like a reasonable place to start looking. I will see if I can come > up with a smaller reproducer to see if it becomes more obvious why this > code triggers this warning.
I know at least why my patch avoids the warning -- it removes the call to memset() that contains the check. Unfortunately that still doesn't explain what caused it.
Arnd
| |