[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id:
<175513140725.3830230.6064788817690151758.git-patchwork-notify@kernel.org>
Date: Thu, 14 Aug 2025 00:30:07 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Miguel García Román <miguelgarciaroman8@...il.com@...eaurora.org,
>@codeaurora.org
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
willemdebruijn.kernel@...il.com, jasowang@...hat.com, andrew+netdev@...n.ch,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
skhan@...uxfoundation.org
Subject: Re: [PATCH net-next v2] tun: replace strcpy with strscpy for ifr_name
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 12 Aug 2025 10:22:44 +0200 you wrote:
> Replace the strcpy() calls that copy the device name into ifr->ifr_name
> with strscpy() to avoid potential overflows and guarantee NULL termination.
>
> Destination is ifr->ifr_name (size IFNAMSIZ).
>
> Tested in QEMU (BusyBox rootfs):
> - Created TUN devices via TUNSETIFF helper
> - Set addresses and brought links up
> - Verified long interface names are safely truncated (IFNAMSIZ-1)
>
> [...]
Here is the summary with links:
- [net-next,v2] tun: replace strcpy with strscpy for ifr_name
https://git.kernel.org/netdev/net-next/c/a57384110dc6
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists