Re: [PATCH 1/1] misc/vmw_vmci: fix filling of the msg and msg_payload in dg_info struct

From: Greg KH
Date: Wed Jan 10 2024 - 05:55:05 EST


On Wed, Jan 10, 2024 at 01:40:42PM +0300, kovalev@xxxxxxxxxxxx wrote:
> From: Vasiliy Kovalev <kovalev@xxxxxxxxxxxx>
>
> Fix "detected field-spanning write" of memcpy warning that is issued by
> the tracking mechanism __fortify_memcpy_chk, added 2021-04-20
> (f68f2ff91512c199ec24883001245912afc17873 fortify: Detect struct member overflows in memcpy() at compile-time)

Please properly quote commits.

> Fixes: a110b7ebb9c674 ("VMCI: datagram implementation.")

It's not really a bug to be "fixed", right? It's just a "shut up the
fortify checkers with this false-positive" type of thing.

Again, see the thread I pointed you at for this same discussion.

thanks,

greg k-h