Re: [PATCH v2 net-next] net/sched: replace strncpy with strscpy
From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-06-24 00:09:56
Also in:
linux-kernel-mentees, lkml
From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-06-24 00:09:56
Also in:
linux-kernel-mentees, lkml
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski [off-list ref]: On Fri, 20 Jun 2025 16:06:53 +0530 you 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> --- net/sched/em_text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- [v2,net-next] net/sched: replace strncpy with strscpy
https://git.kernel.org/netdev/net-next/c/b04202d6065c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html