From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:50889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMeOc-0002Tm-Ry for qemu-devel@nongnu.org; Fri, 12 Oct 2012 08:31:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TMeOY-0002iE-3W for qemu-devel@nongnu.org; Fri, 12 Oct 2012 08:31:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42871) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMeOX-0002hw-Rl for qemu-devel@nongnu.org; Fri, 12 Oct 2012 08:31:14 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q9CCVCbo004892 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 12 Oct 2012 08:31:12 -0400 From: Kevin Wolf Date: Fri, 12 Oct 2012 14:31:07 +0200 Message-Id: <1350045069-8500-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] qemu-img: Fix division by zero for zero size images List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com Kevin Wolf (2): qemu-img: Fix division by zero for zero size images qemu-iotests: Test qemu-img operation on zero size image qemu-img.c | 23 ++++++++---- tests/qemu-iotests/041 | 78 ++++++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/041.out | 15 ++++++++ tests/qemu-iotests/group | 1 + 4 files changed, 109 insertions(+), 8 deletions(-) create mode 100755 tests/qemu-iotests/041 create mode 100644 tests/qemu-iotests/041.out -- 1.7.6.5