cloud-hypervisor/virtio-devices
Sebastien Boeuf 2c54c30435 virtio-devices: vhost_user: common: Fix memory access
It was incorrect to call Vec::from_raw_parts() on the address pointing
to the shared memory log region since Vec is a Rust specific structure
that doesn't directly translate into bytes. That's why we use the same
function from std::slice in order to create a proper slice out of the
memory region, which is then copied into a Vec.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2021-08-10 12:36:58 -07:00
..
src virtio-devices: vhost_user: common: Fix memory access 2021-08-10 12:36:58 -07:00
Cargo.toml build: Bump dependencies 2021-08-10 15:24:28 +01:00