Re: [PATCH] bpf: replace deprecated strncpy with strscpy

From: patchwork-bot+netdevbpf
Date: Wed Apr 03 2024 - 11:13:33 EST


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@xxxxxxxxxxxxx>:

On Tue, 02 Apr 2024 23:52:50 +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.
>
> bpf sym names get looked up and compared/cleaned with various string
> apis. This suggests they need to be NUL-terminated (strncpy() suggests
> this but does not guarantee it).
>
> [...]

Here is the summary with links:
- bpf: replace deprecated strncpy with strscpy
https://git.kernel.org/bpf/bpf-next/c/2e114248e086

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html