From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1zQA-0000bF-LA for qemu-devel@nongnu.org; Tue, 01 Jul 2014 10:52:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X1zQ2-00039f-Ke for qemu-devel@nongnu.org; Tue, 01 Jul 2014 10:52:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:16606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1zQ2-00039T-CL for qemu-devel@nongnu.org; Tue, 01 Jul 2014 10:52:26 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s61EqPXh026800 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 1 Jul 2014 10:52:25 -0400 From: Kevin Wolf Date: Tue, 1 Jul 2014 16:52:20 +0200 Message-Id: <1404226342-20174-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH for-2.1 0/2] Fix mirror segfault with unaligned size List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, stefanha@redhat.com Kevin Wolf (2): mirror: Fix qiov size for short requests block: Assert qiov length matches request length block.c | 2 ++ block/mirror.c | 4 +++- block/raw-posix.c | 12 ++++++++---- tests/qemu-iotests/041 | 5 +++++ tests/qemu-iotests/041.out | 4 ++-- 5 files changed, 20 insertions(+), 7 deletions(-) -- 1.8.3.1