diff options
author | Kees Cook <keescook@chromium.org> | 2024-05-18 20:40:23 +0200 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2024-05-18 22:46:10 +0200 |
commit | ae1a863bcdbd6ea2abc93519a82ab5d715d5dcbc (patch) | |
tree | 4887904fb36d08b6973405fbafe133a1b032660a /security/loadpin | |
parent | ubsan: Restore dependency on ARCH_HAS_UBSAN (diff) | |
download | linux-ae1a863bcdbd6ea2abc93519a82ab5d715d5dcbc.tar.xz linux-ae1a863bcdbd6ea2abc93519a82ab5d715d5dcbc.zip |
kunit/fortify: Fix memcmp() test to be amplitude agnostic
When memcmp() returns a non-zero value, only the signed bit has any
meaning. The actual value may differ between implementations.
Reported-by: Nathan Chancellor <nathan@kernel.org>
Closes: https://github.com/ClangBuiltLinux/linux/issues/2025
Tested-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20240518184020.work.604-kees@kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'security/loadpin')
0 files changed, 0 insertions, 0 deletions