diff options
| author | 2025-06-20 16:06:53 +0530 | |
|---|---|---|
| committer | 2025-06-23 16:56:51 -0700 | |
| commit | b04202d6065cba5dfd51fb9866400b25573eac67 (patch) | |
| tree | fb3c0ecf71a1f4b7129aea08d7b88edc08a27123 /net/unix/af_unix.c | |
| parent | net/smc: replace strncpy with strscpy (diff) | |
| download | linux-rng-b04202d6065cba5dfd51fb9866400b25573eac67.tar.xz linux-rng-b04202d6065cba5dfd51fb9866400b25573eac67.zip | |
net/sched: replace strncpy with strscpy
Replace the deprecated strncpy() with the two-argument version of
strscpy() as the destination is an array
and buffer should be NUL-terminated.
Signed-off-by: Pranav Tyagi <pranav.tyagi03@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250620103653.6957-1-pranav.tyagi03@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
