Patch 2 fixes a wrong assertion in qcow2_get_cluster_offet(). Patch 1 fixes wrong range limitations I encountered in qemu-io while trying to break that wrong assertion.
Not CC-ing qemu-stable because these issues were introduced after 2.6.0. Max Reitz (2): qemu-io: Use correct range limitations qcow2: Fix qcow2_get_cluster_offset() block/qcow2-cluster.c | 16 +++++++++++----- qemu-io-cmds.c | 13 ++++++------- 2 files changed, 17 insertions(+), 12 deletions(-) -- 2.8.3