Re: [PATCH] s390/qeth: replace deprecated strncpy with strscpy
From: patchwork-bot+netdevbpf
Date: Tue Oct 24 2023 - 21:10:31 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 23 Oct 2023 19:39:39 +0000 you wrote:
> strncpy() is deprecated for use on NUL-terminated destination strings
> [1] and as such we should prefer more robust and less ambiguous string
> interfaces.
>
> We expect new_entry->dbf_name to be NUL-terminated based on its use with
> strcmp():
> | if (strcmp(entry->dbf_name, name) == 0) {
>
> [...]
Here is the summary with links:
- s390/qeth: replace deprecated strncpy with strscpy
https://git.kernel.org/netdev/net-next/c/e43e6d9582e0
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html