Messages in this thread | | | Subject | Re: [PATCH] hinic: Replace memcpy() with direct assignment | From | patchwork-bot+netdevbpf@kernel ... | Date | Fri, 17 Jun 2022 10:40:14 +0000 |
| |
Hello:
This patch was applied to netdev/net-next.git (master) by David S. Miller <davem@davemloft.net>:
On Wed, 15 Jun 2022 22:23:12 -0700 you wrote: > Under CONFIG_FORTIFY_SOURCE=y and CONFIG_UBSAN_BOUNDS=y, Clang is bugged > here for calculating the size of the destination buffer (0x10 instead of > 0x14). This copy is a fixed size (sizeof(struct fw_section_info_st)), with > the source and dest being struct fw_section_info_st, so the memcpy should > be safe, assuming the index is within bounds, which is UBSAN_BOUNDS's > responsibility to figure out. > > [...]
Here is the summary with links: - hinic: Replace memcpy() with direct assignment https://git.kernel.org/netdev/net-next/c/2c0ab32b73cf
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |