[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<168897422080.937.17969927233857784911.git-patchwork-notify@kernel.org>
Date: Mon, 10 Jul 2023 07:30:20 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Azeem Shaikh <azeemshaikh38@...il.com>
Cc: jhs@...atatu.com, xiyou.wangcong@...il.com, jiri@...nulli.us,
linux-hardening@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com
Subject: Re: [PATCH] net: sched: Replace strlcpy with strscpy
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.net>:
On Mon, 10 Jul 2023 03:07:11 +0000 you wrote:
> strlcpy() reads the entire source buffer first.
> This read may exceed the destination size limit.
> This is both inefficient and can lead to linear read
> overflows if a source string is not NUL-terminated [1].
> In an effort to remove strlcpy() completely [2], replace
> strlcpy() here with strscpy().
>
> [...]
Here is the summary with links:
- net: sched: Replace strlcpy with strscpy
https://git.kernel.org/netdev/net/c/989b52cdc849
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