Re: [PATCH net-next] ipv6: ip6_gre: replace strcpy with strscpy for tunnel name
From: patchwork-bot+netdevbpf
Date: Tue Aug 19 2025 - 23:14:48 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 19 Aug 2025 00:02:03 +0200 you wrote:
> Replace the strcpy() call that copies the device name into
> tunnel->parms.name with strscpy(), to avoid potential overflow
> and guarantee NULL termination. This uses the two-argument
> form of strscpy(), where the destination size is inferred
> from the array type.
>
> Destination is tunnel->parms.name (size IFNAMSIZ).
>
> [...]
Here is the summary with links:
- [net-next] ipv6: ip6_gre: replace strcpy with strscpy for tunnel name
https://git.kernel.org/netdev/net-next/c/09bde6fdcd75
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html