aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorThorsten Blum <[email protected]>2025-02-19 22:47:31 +0000
committerJakub Kicinski <[email protected]>2025-02-21 23:51:26 +0000
commitc451715d78e31a27afaad35ee0e9a915935cd6ea (patch)
treecb0e593ae746e071f266fdedf54db3e61c7a77f2 /net/ipv4/tcp_input.c
parentMerge branch 'net-improve-netns-handling-in-rtnetlink' (diff)
downloadkernel-c451715d78e31a27afaad35ee0e9a915935cd6ea.tar.gz
kernel-c451715d78e31a27afaad35ee0e9a915935cd6ea.zip
net/rds: Replace deprecated strncpy() with strscpy_pad()
strncpy() is deprecated for NUL-terminated destination buffers. Use strscpy_pad() instead and remove the manual NUL-termination. Compile-tested only. Link: https://github.com/KSPP/linux/issues/90 Signed-off-by: Thorsten Blum <[email protected]> Reviewed-by: Kees Cook <[email protected]> Reviewed-by: Allison Henderson <[email protected]> Tested-by: Allison Henderson <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions