netfilter: x_tables: refactor deprecated strncpy
authorJustin Stitt <justinstitt@google.com>
Wed, 9 Aug 2023 01:06:09 +0000 (01:06 +0000)
committerFlorian Westphal <fw@strlen.de>
Tue, 22 Aug 2023 13:13:21 +0000 (15:13 +0200)
commit06f7d3c3f82c3a53de32a2c0c08e96c0d9ef69ec
tree21f6feab935ffeca705937496270e87c3dec2d8b
parentad156c23d65c1f44f8b4616c2a7505832e323069
netfilter: x_tables: refactor deprecated strncpy

Prefer `strscpy_pad` to `strncpy`.

Signed-off-by: Justin Stitt <justinstitt@google.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
net/netfilter/x_tables.c