Re: [PATCH net-next] tipc: Removing deprecated strncpy()

patchwork-bot+netdevbpf
2025-04-15T11:39:57Z

Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.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.