mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-21 20:15:21 +00:00
a77160dca4
Check the size of data buffer for reading on the ApciPmTimer device to avoid a potential panic if the guest uses non-DWORD access. Simplify the zeroring of the buffer for AcpiShutdownDevice. Signed-off-by: Rob Bradford <robert.bradford@intel.com>