From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF09s-0005Q3-Uj for qemu-devel@nongnu.org; Mon, 20 Jun 2016 10:26:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bF09q-0002eF-4A for qemu-devel@nongnu.org; Mon, 20 Jun 2016 10:26:35 -0400 From: Max Reitz Date: Mon, 20 Jun 2016 16:26:21 +0200 Message-Id: <20160620142623.24471-1-mreitz@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] qcow2: Fix qcow2_get_cluster_offset() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: qemu-devel@nongnu.org, Max Reitz , Kevin Wolf , John Snow 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