mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
The str* family of fortified functions all use member-sized limits for a while now, so the FORTIFY_STR_OBJECT test is redundant to FORTIFY_STR_MEMBER. While here, replace the strncpy() use with strscpy(), as strncpy() is being removed. Link: https://patch.msgid.link/[email protected] Signed-off-by: Kees Cook <[email protected]>