Thread (2 messages) 2 messages, 2 authors, 2026-02-28

Re: [PATCH net-next] ipv6: sit: Replace deprecated strcpy with strscpy

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-02-28 18:10:02
Also in: lkml

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

On Fri, 27 Feb 2026 01:45:42 +0100 you wrote:
strcpy() has been deprecated [1] because it performs no bounds checking
on the destination buffer, which can lead to buffer overflows. Replace
it with the safer strscpy().  Use the two-argument version of strscpy()
to copy 'parms->name' in ipip6_tunnel_locate().

Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy [1]
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>

[...]
Here is the summary with links:
  - [net-next] ipv6: sit: Replace deprecated strcpy with strscpy
    https://git.kernel.org/netdev/net-next/c/ded4a02e7d04

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help