[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163732261583.10547.12958105982595496802.git-patchwork-notify@kernel.org>
Date: Fri, 19 Nov 2021 11:50:15 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Kees Cook <keescook@...omium.org>
Cc: jes@...ined-monkey.org, davem@...emloft.net, kuba@...nel.org,
linux-kernel@...r.kernel.org, linux-hippi@...site.dk,
netdev@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH] net: 802: Use memset_startat() to clear struct fields
Hello:
This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@...emloft.net>:
On Thu, 18 Nov 2021 12:30:45 -0800 you wrote:
> In preparation for FORTIFY_SOURCE performing compile-time and run-time
> field bounds checking for memset(), avoid intentionally writing across
> neighboring fields.
>
> Use memset_startat() so memset() doesn't get confused about writing
> beyond the destination member that is intended to be the starting point
> of zeroing through the end of the struct.
>
> [...]
Here is the summary with links:
- net: 802: Use memset_startat() to clear struct fields
https://git.kernel.org/netdev/net-next/c/e3617433c3da
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