[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174829202904.1039758.3366879265618643528.git-patchwork-notify@kernel.org>
Date: Mon, 26 May 2025 20:40:29 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Baris Can Goral <goralbaris@...il.com>
Cc: allison.henderson@...cle.com, davem@...emloft.net, edumazet@...gle.com,
horms@...nel.org, kuba@...nel.org, linux-rdma@...r.kernel.org,
michal.swiatkowski@...ux.intel.com, netdev@...r.kernel.org,
pabeni@...hat.com, shankari.ak0208@...il.com, skhan@...uxfoundation.org
Subject: Re: [PATCH v5 net-next: rds] replace strncpy with strscpy_pad
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@...hat.com>:
On Wed, 21 May 2025 19:10:37 +0300 you wrote:
> The strncpy() function is actively dangerous to use since it may not
> NULL-terminate the destination string, resulting in potential memory
> content exposures, unbounded reads, or crashes.
> Link: https://github.com/KSPP/linux/issues/90
>
> In addition, strscpy_pad is more appropriate because it also zero-fills
> any remaining space in the destination if the source is shorter than
> the provided buffer size.
>
> [...]
Here is the summary with links:
- [v5,net-next:,rds] replace strncpy with strscpy_pad
https://git.kernel.org/netdev/net-next/c/5bccdc51f90c
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