[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174471723506.2600560.18296799870164232004.git-patchwork-notify@kernel.org>
Date: Tue, 15 Apr 2025 11:40:35 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Kevin Paul Reddy Janagari <kevinpaul468@...il.com>
Cc: jmaloy@...hat.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, horms@...nel.org, netdev@...r.kernel.org,
tipc-discussion@...ts.sourceforge.net, linux-kernel@...r.kernel.org,
tung.quang.nguyen@....tech
Subject: Re: [PATCH net-next] tipc: Removing deprecated strncpy()
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@...hat.com>:
On Fri, 11 Apr 2025 14:20:10 +0530 you wrote:
> This patch suggests the replacement of strncpy with strscpy
> as per Documentation/process/deprecated.
> The strncpy() fails to guarantee NULL termination,
> The function adds zero pads which isn't really convenient for short strings
> as it may cause performance issues.
>
> strscpy() is a preferred replacement because
> it overcomes the limitations of strncpy mentioned above.
>
> [...]
Here is the summary with links:
- [net-next] tipc: Removing deprecated strncpy()
https://git.kernel.org/netdev/net-next/c/8c9b406ff470
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