This repository has been archived by the owner on Jul 17, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dbs-virtio-devices: fix Balloon::write_config() bugs
1. Fix potential integer overflow when calculating the end of the write destination (`offset + data_len`). 2. Fix a potential panic when copying into the destination slice due to size mismatch. Signed-off-by: Carlos López <[email protected]>
- Loading branch information