]> Git Repo - linux.git/commit
ubsan: Tighten UBSAN_BOUNDS on GCC
authorKees Cook <[email protected]>
Wed, 5 Apr 2023 02:23:59 +0000 (19:23 -0700)
committerKees Cook <[email protected]>
Tue, 16 May 2023 20:57:14 +0000 (13:57 -0700)
commit2d47c6956ab3c8b580a59d7704aab3e2a4882b6c
treea7ba0b39fcc87447ba745221e110aed69f62d680
parentf1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6
ubsan: Tighten UBSAN_BOUNDS on GCC

The use of -fsanitize=bounds on GCC will ignore some trailing arrays,
leaving a gap in coverage. Switch to using -fsanitize=bounds-strict to
match Clang's stricter behavior.

Cc: Marco Elver <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Cc: Nicolas Schier <[email protected]>
Cc: Tom Rix <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Miroslav Benes <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
lib/Kconfig.ubsan
scripts/Makefile.ubsan
This page took 0.060736 seconds and 4 git commands to generate.