mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
config_generation is a u8 and the spec mandates wrap around. Verify the increment past 0xff lands on 0x00 without panicking under overflow checks. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>