Re: [PATCH net] llc: fix out-of-bound array index in llc_sk_dev_hash()

From
patchwork-bot+netdevbpf@kernel.org
Date
2021-11-07 19:30:09
Reply to
Eric Dumazet, 2021-11-05
Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:

On Fri,  5 Nov 2021 14:42:14 -0700 you wrote:
From: Eric Dumazet <redacted>

Both ifindex and LLC_SK_DEV_HASH_ENTRIES are signed.

This means that (ifindex % LLC_SK_DEV_HASH_ENTRIES) is negative
if @ifindex is negative.

[...]
Here is the summary with links:
  - [net] llc: fix out-of-bound array index in llc_sk_dev_hash()
    https://git.kernel.org/netdev/net/c/8ac9dfd58b13

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

Thread (2 messages) 2 messages, 2 authors, 2021-11-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help