Re: [PATCH net v2] net: prestera: validate firmware header length

From: patchwork-bot+netdevbpf

Date: Wed Aug 05 2026 - 20:42:41 EST


Hello:

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

On Fri, 31 Jul 2026 22:19:06 +0800 you wrote:
> prestera_fw_hdr_parse() reads the firmware header before checking
> that the firmware image contains that header.
>
> Reject images shorter than struct prestera_fw_header before decoding the
> magic and version fields.
>
> Signed-off-by: Pengpeng Hou <pengpeng@xxxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [net,v2] net: prestera: validate firmware header length
https://git.kernel.org/netdev/net/c/8ae344eb540a

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