diff options
author | 2024-02-19 13:53:15 +0300 | |
---|---|---|
committer | 2024-03-01 16:03:32 -0800 | |
commit | e606e4b71798cc1df20e987dde2468e9527bd376 (patch) | |
tree | 78c401a13c5cf237a4993011f22bef471bef1054 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | lib/string_helpers: Add flags param to string_get_size() (diff) | |
download | wireguard-linux-e606e4b71798cc1df20e987dde2468e9527bd376.tar.xz wireguard-linux-e606e4b71798cc1df20e987dde2468e9527bd376.zip |
VMCI: Fix possible memcpy() run-time warning in vmci_datagram_invoke_guest_handler()
The changes are similar to those given in the commit 19b070fefd0d
("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 <kovalev@altlinux.org>
Link: https://lore.kernel.org/r/20240219105315.76955-1-kovalev@altlinux.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions