Re: [PATCH net-next] tipc: re-order conditions in tipc_crypto_key_rcv()

From: patchwork-bot+netdevbpf
Date: Mon Jan 20 2025 - 07:20:23 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Fri, 17 Jan 2025 12:36:14 +0300 you wrote:
> On a 32bit system the "keylen + sizeof(struct tipc_aead_key)" math could
> have an integer wrapping issue. It doesn't matter because the "keylen"
> is checked on the next line, but just to make life easier for static
> analysis tools, let's re-order these conditions and avoid the integer
> overflow.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [net-next] tipc: re-order conditions in tipc_crypto_key_rcv()
https://git.kernel.org/netdev/net-next/c/5fe71fda8974

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