[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <169785362526.14770.3733349945703653209.git-patchwork-notify@kernel.org>
Date: Sat, 21 Oct 2023 02:00:25 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Justin Stitt <justinstitt@...gle.com>
Cc: stephan@...hold.net, loic.poulain@...aro.org,
ryazanov.s.a@...il.com, johannes@...solutions.net,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, netdev@...r.kernel.org,
linux-remoteproc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org, keescook@...omium.org
Subject: Re: [PATCH v2] net: wwan: replace deprecated strncpy with strscpy
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 19 Oct 2023 18:21:22 +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 chinfo.name to be NUL-terminated based on its use with format
> strings and sprintf:
> rpmsg/rpmsg_char.c
> 165: dev_err(dev, "failed to open %s\n", eptdev->chinfo.name);
> 368: return sprintf(buf, "%s\n", eptdev->chinfo.name);
>
> [...]
Here is the summary with links:
- [v2] net: wwan: replace deprecated strncpy with strscpy
https://git.kernel.org/netdev/net-next/c/75e7d0b2d223
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists