mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-03-20 07:58:55 +00:00
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>