diff options
author | Kees Cook <[email protected]> | 2021-08-04 14:20:14 -0700 |
---|---|---|
committer | Kees Cook <[email protected]> | 2021-09-25 08:20:50 -0700 |
commit | 369cd2165d7beac1db144b40811baa2c6b7d8c54 (patch) | |
tree | 9823085f935744bcb2df673caf0b926cbee7af6b /lib/test_fortify/write_overflow-strncpy.c | |
parent | 072af0c638dc8a5c7db2edc4dddbd6d44bee3bdb (diff) |
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