[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165088261141.604.6325494108887689082.git-patchwork-notify@kernel.org>
Date: Mon, 25 Apr 2022 10:30:11 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: horatiu.vultur@...rochip.com, UNGLinuxDriver@...rochip.com,
davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net] net: lan966x: fix a couple off by one bugs
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Thu, 21 Apr 2022 18:46:13 +0300 you wrote:
> The lan966x->ports[] array has lan966x->num_phys_ports elements. These
> are assigned in lan966x_probe(). That means the > comparison should be
> changed to >=.
>
> The first off by one check is harmless but the second one could lead to
> an out of bounds access and a crash.
>
> [...]
Here is the summary with links:
- [net] net: lan966x: fix a couple off by one bugs
https://git.kernel.org/netdev/net/c/9810c58c7051
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