[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165309181114.12839.13478379720115891907.git-patchwork-notify@kernel.org>
Date: Sat, 21 May 2022 00:10:11 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, peppe.cavallaro@...com,
alexandre.torgue@...s.st.com, joabreu@...opsys.com,
mcoquelin.stm32@...il.com
Subject: Re: [PATCH net] net: stmmac: fix out-of-bounds access in a selftest
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 18 May 2022 17:43:05 -0700 you wrote:
> GCC 12 points out that struct tc_action is smaller than
> struct tcf_action:
>
> drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c: In function ‘stmmac_test_rxp’:
> drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1132:21: warning: array subscript ‘struct tcf_gact[0]’ is partly outside array bounds of ‘unsigned char[272]’ [-Warray-bounds]
> 1132 | gact->tcf_action = TC_ACT_SHOT;
> | ^~
>
> [...]
Here is the summary with links:
- [net] net: stmmac: fix out-of-bounds access in a selftest
https://git.kernel.org/netdev/net/c/fe5c5fc145ed
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists