lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CABKbRoJDogS-uzy-vott1LHxEPB3tVU4SrBwaagmrhreXxuX9A@mail.gmail.com>
Date: Thu, 14 Aug 2025 12:32:34 +0200
From: Miguel García Román <miguelgarciaroman8@...il.com>
To: patchwork-bot+netdevbpf@...nel.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

El jue, 14 ago 2025 a las 2:29, <patchwork-bot+netdevbpf@...nel.org> escribió:
>
> Hello:
>
> This patch was applied to netdev/net-next.git (main)
> by Jakub Kicinski <kuba@...nel.org>:
Perfect, thanks!
>
> 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

Powered by Openwall GNU/*/Linux Powered by OpenVZ