[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/4] Misc qcow2 corruption checks
From: |
Alberto Garcia |
Subject: |
[Qemu-devel] [PATCH 0/4] Misc qcow2 corruption checks |
Date: |
Wed, 1 Nov 2017 17:42:21 +0200 |
Misc qcow2 corruption checks
This series contains a few checks that prevent QEMU from crashing
under some scenarios with corrupted qcow2 images.
The first patch solves the crash reported here:
https://bugs.launchpad.net/qemu/+bug/1728615
And the others solve similar crashes that I detected in the process of
fixing this one.
Regards,
Berto
Alberto Garcia (4):
qcow2: Prevent allocating refcount blocks at offset 0
qcow2: Prevent allocating L2 tables at offset 0
qcow2: Don't open images with header.refcount_table_clusters == 0
qcow2: Add iotest for an empty refcount table
block/qcow2-cluster.c | 7 +++++++
block/qcow2-refcount.c | 7 +++++++
block/qcow2.c | 6 ++++++
tests/qemu-iotests/060 | 32 ++++++++++++++++++++++++++++++++
tests/qemu-iotests/060.out | 25 +++++++++++++++++++++++++
5 files changed, 77 insertions(+)
--
2.11.0
- [Qemu-devel] [PATCH 0/4] Misc qcow2 corruption checks,
Alberto Garcia <=