[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164282281020.32276.3955066233217706965.git-patchwork-notify@kernel.org>
Date: Sat, 22 Jan 2022 03:40:10 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Kees Cook <keescook@...omium.org>
Cc: mathew.j.martineau@...ux.intel.com, matthieu.baerts@...sares.net,
davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org,
mptcp@...ts.linux.dev, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH] mptcp: Use struct_group() to avoid cross-field memset()
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 20 Jan 2022 23:39:35 -0800 you wrote:
> In preparation for FORTIFY_SOURCE performing compile-time and run-time
> field bounds checking for memcpy(), memmove(), and memset(), avoid
> intentionally writing across neighboring fields.
>
> Use struct_group() to capture the fields to be reset, so that memset()
> can be appropriately bounds-checked by the compiler.
>
> [...]
Here is the summary with links:
- mptcp: Use struct_group() to avoid cross-field memset()
https://git.kernel.org/netdev/net/c/63ec72bd5848
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