summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorDenys Drozdov <denys.drozdov@toradex.com>2022-01-10 14:21:09 +0200
committerDenys Drozdov <denys.drozdov@toradex.com>2022-01-10 14:21:09 +0200
commitfdd91487f014d6f66a7db03f135056ada3552f27 (patch)
tree7cc4ea3c8804027ab1a366726bd89970484b36ea /security
parent905e3a2de88e6fbf0e2c0d3f1ae4217a6f75e126 (diff)
parent5c088fba39aff97ae9175948356ef3292369671c (diff)
Merge tag 'v5.4.161' into HEAD
This is the 5.4.161 stable release
Diffstat (limited to 'security')
-rw-r--r--security/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/Kconfig b/security/Kconfig
index 2a1a2d396228..52e5109f2c1b 100644
--- a/security/Kconfig
+++ b/security/Kconfig
@@ -191,6 +191,9 @@ config HARDENED_USERCOPY_PAGESPAN
config FORTIFY_SOURCE
bool "Harden common str/mem functions against buffer overflows"
depends on ARCH_HAS_FORTIFY_SOURCE
+ # https://bugs.llvm.org/show_bug.cgi?id=50322
+ # https://bugs.llvm.org/show_bug.cgi?id=41459
+ depends on !CC_IS_CLANG
help
Detect overflows of buffers in common string and memory functions
where the compiler can determine and validate the buffer sizes.