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

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


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

No, this relies on zeroing out the entire register.

If you absolutely have to do this, use _pad version.