Messages in this thread | | | Subject | Re: [PATCH] net/ncsi: Silence runtime memcpy() false positive warning | From | patchwork-bot+netdevbpf@kernel ... | Date | Wed, 07 Dec 2022 02:10:18 +0000 |
| |
Hello:
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <kuba@kernel.org>:
On Fri, 2 Dec 2022 13:24:22 -0800 you wrote: > The memcpy() in ncsi_cmd_handler_oem deserializes nca->data into a > flexible array structure that overlapping with non-flex-array members > (mfr_id) intentionally. Since the mem_to_flex() API is not finished, > temporarily silence this warning, since it is a false positive, using > unsafe_memcpy(). > > Reported-by: Joel Stanley <joel@jms.id.au> > Link: https://lore.kernel.org/netdev/CACPK8Xdfi=OJKP0x0D1w87fQeFZ4A2DP2qzGCRcuVbpU-9=4sQ@mail.gmail.com/ > Cc: Samuel Mendoza-Jonas <sam@mendozajonas.com> > Cc: "David S. Miller" <davem@davemloft.net> > Cc: Eric Dumazet <edumazet@google.com> > Cc: Jakub Kicinski <kuba@kernel.org> > Cc: Paolo Abeni <pabeni@redhat.com> > Cc: netdev@vger.kernel.org > Signed-off-by: Kees Cook <keescook@chromium.org> > > [...]
Here is the summary with links: - net/ncsi: Silence runtime memcpy() false positive warning https://git.kernel.org/netdev/net-next/c/b93884eea26f
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |