]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow2-cluster.c
qcow2: Add two more unalignment checks
authorMax Reitz <mreitz@redhat.com>
Mon, 19 Jan 2015 20:49:03 +0000 (15:49 -0500)
committerKevin Wolf <kwolf@redhat.com>
Fri, 23 Jan 2015 17:17:05 +0000 (18:17 +0100)
commit8dd93d9339505376f6ce6737ead871ff6d7e676f
treed8e338c65d74b0d45ae017f4bcaca3a6cce462d2
parent1dc936aa84b300940b2797c391cc3ca519bc78ce
qcow2: Add two more unalignment checks

This adds checks for unaligned L2 table offsets and unaligned data
cluster offsets (actually the preallocated offsets for zero clusters) to
the zero cluster expansion function.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-cluster.c