Re: [PATCH] r8169: Avoid memcpy() over-reading of ETH_SS_STATS
From: patchwork-bot+netdevbpf
Date: Wed Jun 16 2021 - 16:10:12 EST
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Wed, 16 Jun 2021 12:53:59 -0700 you wrote:
> In preparation for FORTIFY_SOURCE performing compile-time and run-time
> field bounds checking for memcpy(), memmove(), and memset(), avoid
> intentionally reading across neighboring array fields.
>
> The memcpy() is copying the entire structure, not just the first array.
> Adjust the source argument so the compiler can do appropriate bounds
> checking.
>
> [...]
Here is the summary with links:
- r8169: Avoid memcpy() over-reading of ETH_SS_STATS
https://git.kernel.org/netdev/net/c/da5ac772cfe2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html