Messages in this thread | | | Subject | Re: [PATCH] sh_eth: Avoid memcpy() over-reading of ETH_SS_STATS | From | patchwork-bot+netdevbpf@kernel ... | Date | Wed, 16 Jun 2021 20:10:03 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Wed, 16 Jun 2021 12:53:33 -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: - sh_eth: Avoid memcpy() over-reading of ETH_SS_STATS https://git.kernel.org/netdev/net/c/224004fbb033
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |