Re: [PATCH net-next] tipc: re-order conditions in tipc_crypto_key_rcv()
From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-01-20 12:20:04
Also in:
kernel-janitors, lkml
From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-01-20 12:20:04
Also in:
kernel-janitors, lkml
Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller [off-list ref]: 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 <redacted> [...]
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