Re: [PATCH v2 net-next] net/sched: replace strncpy with strscpy
From: Simon Horman <horms@kernel.org>
Date: 2025-06-20 19:59:23
Also in:
linux-kernel-mentees, lkml
From: Simon Horman <horms@kernel.org>
Date: 2025-06-20 19:59:23
Also in:
linux-kernel-mentees, lkml
On Fri, Jun 20, 2025 at 04:06:53PM +0530, Pranav Tyagi wrote:
Replace the deprecated strncpy() with the two-argument version of strscpy() as the destination is an array and buffer should be NUL-terminated. Signed-off-by: Pranav Tyagi <redacted>
Thanks for the update. Reviewed-by: Simon Horman <horms@kernel.org>