[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174649563350.1007977.12065018765324353318.git-patchwork-notify@kernel.org>
Date: Tue, 06 May 2025 01:40:33 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Ruben Wauters <rubenru09@....com>
Cc: davem@...emloft.net, dsahern@...nel.org, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, horms@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 net-next] ipv4: ip_tunnel: Replace strcpy use with strscpy
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 1 May 2025 21:23:55 +0100 you wrote:
> Use of strcpy is decpreated, replaces the use of strcpy with strscpy as
> recommended.
>
> strscpy was chosen as it requires a NUL terminated non-padded string,
> which is the case here.
>
> I am aware there is an explicit bounds check above the second instance,
> however using strscpy protects against buffer overflows in any future
> code, and there is no good reason I can see to not use it.
>
> [...]
Here is the summary with links:
- [v2,net-next] ipv4: ip_tunnel: Replace strcpy use with strscpy
https://git.kernel.org/netdev/net-next/c/c2dbda07662e
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