Re: [PATCH] net: ipconfig: replace strncpy with strscpy
From: Simon Horman
Date: Sat Jun 07 2025 - 12:42:18 EST
On Sat, Jun 07, 2025 at 08:58:30PM +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.
>
> Signed-off-by: Pranav Tyagi <pranav.tyagi03@xxxxxxxxx>
Hi Pranav,
As a non-bug fix for Networking code this should be targeted
at net-next. And it's helpful to do so explicitly in the patch subject,
like this:
[PATCH v2 net-next] ...
Also, unfortunately the timing of this patch is not good
as net-next is currently closed for the merge window.
You can find more information about the above,
and other aspects of the workflow for the Networking subsystem
in https://docs.kernel.org/process/maintainer-netdev.html
## Form letter - net-next-closed
The merge window for v6.16 has begun and therefore net-next is closed
for new drivers, features, code refactoring and optimizations. We are
currently accepting bug fixes only.
Please repost when net-next reopens after June 8th.
RFC patches sent for review only are obviously welcome at any time.
--
pw-bot: defer