Re: [PATCH net] net: pse-pd: Fix out of bound for loop

From: patchwork-bot+netdevbpf
Date: Sun Oct 20 2024 - 10:51:55 EST


Hello:

This patch was applied to netdev/net.git (main)
by Andrew Lunn <andrew@xxxxxxx>:

On Tue, 15 Oct 2024 15:02:54 +0200 you wrote:
> Adjust the loop limit to prevent out-of-bounds access when iterating over
> PI structures. The loop should not reach the index pcdev->nr_lines since
> we allocate exactly pcdev->nr_lines number of PI structures. This fix
> ensures proper bounds are maintained during iterations.
>
> Fixes: 9be9567a7c59 ("net: pse-pd: Add support for PSE PIs")
> Signed-off-by: Kory Maincent <kory.maincent@xxxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [net] net: pse-pd: Fix out of bound for loop
https://git.kernel.org/netdev/net/c/f2767a41959e

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