summaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow_field-memset.c
AgeCommit message (Collapse)Author
2022-02-13fortify: Detect struct member overflows in memset() at compile-timeKees Cook
As done for memcpy(), also update memset() to use the same tightened compile-time bounds checking under CONFIG_FORTIFY_SOURCE. Signed-off-by: Kees Cook <keescook@chromium.org>