summaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-02-25 20:26:14 +0100
committerDavid Sterba <dsterba@suse.com>2025-02-26 09:24:01 +0100
commit2df2c6ed89600a02e1c7a581a6a55e53c38ce0f5 (patch)
tree35f43234c438d36c1b893e03e4fec88a7bf5b36b /net/lapb/lapb_timer.c
parent5a4041f2c47247575a6c2e53ce14f7b0ac946c33 (diff)
downloadlinux-2df2c6ed89600a02e1c7a581a6a55e53c38ce0f5.tar.gz
linux-2df2c6ed89600a02e1c7a581a6a55e53c38ce0f5.tar.bz2
linux-2df2c6ed89600a02e1c7a581a6a55e53c38ce0f5.zip
btrfs: replace deprecated strncpy() with strscpy()
strncpy() is deprecated for NUL-terminated destination buffers. Use strscpy() instead and don't zero-initialize the param array. Link: https://github.com/KSPP/linux/issues/90 Cc: linux-hardening@vger.kernel.org Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions