[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<173022783724.787364.3963600825899239254.git-patchwork-notify@kernel.org>
Date: Tue, 29 Oct 2024 18:50:37 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Gax-c <zichenxie0106@...il.com>
Cc: kuba@...nel.org, andrew+netdev@...n.ch, davem@...emloft.net,
edumazet@...gle.com, pabeni@...hat.com, petrm@...dia.com, idosch@...dia.com,
netdev@...r.kernel.org, zzjas98@...il.com, chenyuan0y@...il.com
Subject: Re: [PATCH v2] netdevsim: Add trailing zero to terminate the string in
nsim_nexthop_bucket_activity_write()
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 22 Oct 2024 12:19:08 -0500 you wrote:
> From: Zichen Xie <zichenxie0106@...il.com>
>
> This was found by a static analyzer.
> We should not forget the trailing zero after copy_from_user()
> if we will further do some string operations, sscanf() in this
> case. Adding a trailing zero will ensure that the function
> performs properly.
>
> [...]
Here is the summary with links:
- [v2] netdevsim: Add trailing zero to terminate the string in nsim_nexthop_bucket_activity_write()
https://git.kernel.org/netdev/net/c/4ce1f56a1eac
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