]> git.proxmox.com Git - mirror_qemu.git/commit
qcow2: Fix qemu-img check segfault on corrupted images
authorKevin Wolf <kwolf@redhat.com>
Tue, 22 Jun 2010 10:31:45 +0000 (12:31 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 22 Jun 2010 12:38:02 +0000 (14:38 +0200)
commit6882c8fa78dcc4882640d3e11232d995fda7d5c4
tree13788e57b424d164711bc2268e9baf4f9d99777d
parent20a81e4d178379381fbd522eda5f664ba2ecdaaa
qcow2: Fix qemu-img check segfault on corrupted images

With corrupted images, we can easily get an cluster index that exceeds the
array size of the temporary refcount table.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-refcount.c