Re: [PATCH] hv_netvsc: Avoid field-overflowing memcpy()

From: patchwork-bot+netdevbpf
Date: Tue Jun 22 2021 - 13:30:08 EST


Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Mon, 21 Jun 2021 15:21:12 -0700 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.
>
> Add flexible array to represent start of buf_info, improving readability
> and avoid future warning where memcpy() thinks it is writing past the
> end of the structure.
>
> [...]

Here is the summary with links:
- hv_netvsc: Avoid field-overflowing memcpy()
https://git.kernel.org/netdev/net-next/c/f2fcffe392c1

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html