diff options
author | 2025-02-19 23:47:31 +0100 | |
---|---|---|
committer | 2025-02-21 15:51:26 -0800 | |
commit | c451715d78e31a27afaad35ee0e9a915935cd6ea (patch) | |
tree | cb0e593ae746e071f266fdedf54db3e61c7a77f2 /drivers/net/ethernet/google/gve/gve_main.c | |
parent | Merge branch 'net-improve-netns-handling-in-rtnetlink' (diff) | |
download | wireguard-linux-c451715d78e31a27afaad35ee0e9a915935cd6ea.tar.xz wireguard-linux-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 <thorsten.blum@linux.dev>
Reviewed-by: Kees Cook <kees@kernel.org>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Tested-by: Allison Henderson <allison.henderson@oracle.com>
Link: https://patch.msgid.link/20250219224730.73093-2-thorsten.blum@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions