mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
The 'GuestAddress::unchecked_add' function has undefined behavior when an overflow occurs. Its alternative 'checked_add' requires use to handle the overflow explicitly. Signed-off-by: Bo Chen <chen.bo@intel.com>