qcow2: Prevent corruption-related crashes
Status from this message: Thanks, applied all to the block branch.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | qcow2: Catch !*host_offset for data allocationblock/ | +11 | 0 replies | |
| 2/3 | iotests: Add test for image header overlaptests/ tests/ | +17 | 0 replies | |
| 3/3 | block: Catch !bs->drv in bdrv_check()block.c | +3 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/3] qcow2: Prevent corruption-related crashes
The first two patches in this series address
https://bugs.launchpad.net/qemu/+bug/1349972.
For the third patch I found it hard to write an appropriate test case (it would have to make qemu-img check repair some leaks but induce the corruption prevention at the same time). One can use the test image from the bug report above, set the refcount block offset to 0 and that works. However, the patch is simple enough that no test should be necessary.
Max Reitz (3):
qcow2: Catch !*host_offset for data allocation
iotests: Add test for image header overlap
block: Catch !bs->drv in bdrv_check()
block.c | 3 +++ block/qcow2-cluster.c | 11 +++++++++++ tests/qemu-iotests/060 | 9 +++++++++ tests/qemu-iotests/060.out | 8 ++++++++ 4 files changed, 31 insertions(+)
Signature · 1 line
2.0.3