Re: [PATCH 2/7] netfilter: nf_tables: refactor deprecated strncpy

From: Florian Westphal
Date: Tue Aug 08 2023 - 19:40:10 EST


Justin Stitt <justinstitt@xxxxxxxxxx> wrote:
> Prefer `strscpy` over `strncpy`.

Just like all other nft_*.c changes, this relies on zeroing
the remaining buffer, so please use strscpy_pad if this is
really needed for some reason.