Thread (3 messages) 3 messages, 2 authors, 2025-06-11

Re: [PATCH] net: ipconfig: replace strncpy with strscpy

From: Simon Horman <horms@kernel.org>
Date: 2025-06-07 16:42:04
Also in: linux-kernel-mentees, lkml

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 <redacted>
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help