mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
A qcow2 header with non-zero backing_file_offset that points at a zero length name is malformed. The parser would otherwise read an empty path string and store it as a backing file. Reject it with a dedicated error so the user gets a clear diagnostic. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>