[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<169709582458.1593.10221782315144344818.git-patchwork-notify@kernel.org>
Date: Thu, 12 Oct 2023 07:30:24 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Kuniyuki Iwashima <kuniyu@...zon.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, willemdebruijn.kernel@...il.com, keescook@...omium.org,
horms@...nel.org, kuni1840@...il.com, netdev@...r.kernel.org,
slyich@...il.com
Subject: Re: [PATCH v1 net] af_packet: Fix fortified memcpy() without flex array.
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@...hat.com>:
On Mon, 9 Oct 2023 08:31:52 -0700 you wrote:
> Sergei Trofimovich reported a regression [0] caused by commit a0ade8404c3b
> ("af_packet: Fix warning of fortified memcpy() in packet_getname().").
>
> It introduced a flex array sll_addr_flex in struct sockaddr_ll as a
> union-ed member with sll_addr to work around the fortified memcpy() check.
>
> However, a userspace program uses a struct that has struct sockaddr_ll in
> the middle, where a flex array is illegal to exist.
>
> [...]
Here is the summary with links:
- [v1,net] af_packet: Fix fortified memcpy() without flex array.
https://git.kernel.org/netdev/net/c/e2bca4870fda
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