mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 04:09:48 +00:00
0090567d24
Use the GuestMemory get_slice_at_addr() function to ensure the memory regions corresponding to the descriptor table and used/avail rings are actually contiguous, rather than just validating the ending address of each region exists in guest memory. The log region is currently not validated, which matches previous behavior. BUG=None TEST=tools/dev_container tools/presubmit Change-Id: I1e80326dfae085380fbbf4dd1c7960dd72485793 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5922041 Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |