mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
The netlink data end boundary should be actually set by msg_len. The previous calculation of data_end and its usage was probably confused with data size. This bug prevented access to the entire netlink's message data. BUG=b:197247746 TEST=Build and print the `data` when netlink message arrives. Change-Id: I601bcfee9132649f48f774e23426281ba1e88fde Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3375544 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
poll_token_derive | ||
src | ||
.build_test_serial | ||
Cargo.toml |