Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VMCI: Fix possible memcpy() run-time warning in vmci_datagram_invoke_…
…guest_handler() commit e606e4b upstream. The changes are similar to those given in the commit 19b070f ("VMCI: Fix memcpy() run-time warning in dg_dispatch_as_host()"). Fix filling of the msg and msg_payload in dg_info struct, which prevents a possible "detected field-spanning write" of memcpy warning that is issued by the tracking mechanism __fortify_memcpy_chk. Signed-off-by: Vasiliy Kovalev <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Kees Cook <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information