Re: [PATCH] net: ipconfig: use strscpy to replace strlcpy

From: patchwork-bot+netdevbpf
Date: Mon Jul 04 2022 - 05:31:15 EST


Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Fri, 1 Jul 2022 18:55:17 +0800 (GMT+08:00) you wrote:
> The strlcpy should not be used because it doesn't limit the source
> length. Preferred is strscpy.
>
> Signed-off-by: XueBing Chen <chenxuebing@xxxxxxx>
> ---
> net/ipv4/ipconfig.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)

Here is the summary with links:
- net: ipconfig: use strscpy to replace strlcpy
https://git.kernel.org/netdev/net-next/c/634b215b7307

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