Re: [PATCH] net: qed: fix the array may be out of bound

From: patchwork-bot+netdevbpf
Date: Fri Nov 26 2021 - 14:42:19 EST


Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Thu, 25 Nov 2021 19:36:10 +0800 you wrote:
> If the variable 'p_bit->flags' is always 0,
> the loop condition is always 0.
>
> The variable 'j' may be greater than or equal to 32.
>
> At this time, the array 'p_aeu->bits[32]' may be out
> of bound.
>
> [...]

Here is the summary with links:
- net: qed: fix the array may be out of bound
https://git.kernel.org/netdev/net/c/0435a4d08032

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