aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_fortify/write_overflow-strncpy.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2021-08-04 21:20:14 +0000
committerKees Cook <[email protected]>2021-09-25 15:20:50 +0000
commit369cd2165d7beac1db144b40811baa2c6b7d8c54 (patch)
tree9823085f935744bcb2df673caf0b926cbee7af6b /lib/test_fortify/write_overflow-strncpy.c
parentfortify: Fix dropped strcpy() compile-time write overflow check (diff)
downloadkernel-369cd2165d7beac1db144b40811baa2c6b7d8c54.tar.gz
kernel-369cd2165d7beac1db144b40811baa2c6b7d8c54.zip
fortify: Prepare to improve strnlen() and strlen() warnings
In order to have strlen() use fortified strnlen() internally, swap their positions in the source. Doing this as part of later changes makes review difficult, so reoroder it here; no code changes. Cc: Francis Laniel <[email protected]> Signed-off-by: Kees Cook <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions