Skip to content

Commit

Permalink
enable FORTIFY_SOURCE by default
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Micay <danielmicay@gmail.com>
  • Loading branch information
thestinger authored and anthraxx committed Apr 4, 2020
1 parent df29f92 commit d12c0d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions security/Kconfig
Expand Up @@ -191,6 +191,7 @@ config HARDENED_USERCOPY_PAGESPAN
config FORTIFY_SOURCE
bool "Harden common str/mem functions against buffer overflows"
depends on ARCH_HAS_FORTIFY_SOURCE
default y
help
Detect overflows of buffers in common string and memory functions
where the compiler can determine and validate the buffer sizes.
Expand Down

0 comments on commit d12c0d5

Please sign in to comment.