qemu-img: Assert for 'amend' command and the fuzzed image
Bug #1357440 reported by
Maria Kustova
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
'qemu-img amend' failed with the assert on the fuzzed image.
Sequence:
1. Unpack the attached archive, make a copy of test.img
2. Put copy.img and backing_img.vdi in the same directory
3. Execute
qemu-img amend -o compat=0.10 -f qcow2 copy.img
Result: qemu-img was killed by SIGIOT with the reason:
qemu-img: block/qcow2-
qemu.git HEAD 2d591ce2aeebf
Changed in qemu: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi,
This issue should be fixed by my "[PATCH v3 0/7] block/qcow2: Improve zero cluster expansion" series.
However, there are similar issues in qemu, so we'll probably need a function to quickly mark an image corrupt instead of throwing these assertions.
Max