Re: [PATCH v2 net-next] net: ipconfig: replace strncpy with strscpy
From: Jakub Kicinski
Date: Fri Jun 13 2025 - 21:16:37 EST
On Thu, 12 Jun 2025 17:18:59 +0530 Pranav Tyagi wrote:
> Replace the deprecated strncpy() with strscpy() as the destination
> buffer is NUL-terminated and does not require any
> trailing NUL-padding. Also increase the length to 252
> as NUL-termination is guaranteed.
Petr is making functional changes to this code:
https://lore.kernel.org/all/20250610143504.731114-1-petr.zejdl@xxxxxxx/
Please repost once his work is merged to avoid unnecessary conflicts
--
pw-bot: defer