diff options
| author | Thorsten Blum <[email protected]> | 2025-02-19 22:47:31 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-02-21 23:51:26 +0000 |
| commit | c451715d78e31a27afaad35ee0e9a915935cd6ea (patch) | |
| tree | cb0e593ae746e071f266fdedf54db3e61c7a77f2 /net/ipv4/tcp_input.c | |
| parent | Merge branch 'net-improve-netns-handling-in-rtnetlink' (diff) | |
| download | kernel-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
