Messages in this thread | | | Subject | Re: [PATCH v2] net: dsa: remove deprecated strncpy | From | patchwork-bot+netdevbpf@kernel ... | Date | Sun, 23 Jul 2023 10:50:21 +0000 |
| |
Hello:
This patch was applied to netdev/net-next.git (main) by David S. Miller <davem@davemloft.net>:
On Tue, 18 Jul 2023 22:56:38 +0000 you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings [1]. > > Even call sites utilizing length-bounded destination buffers should > switch over to using `strtomem` or `strtomem_pad`. In this case, > however, the compiler is unable to determine the size of the `data` > buffer which renders `strtomem` unusable. Due to this, `strscpy` > should be used. > > [...]
Here is the summary with links: - [v2] net: dsa: remove deprecated strncpy https://git.kernel.org/netdev/net-next/c/5c9f7b04aadf
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |