From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHwkr-00030L-Kq for qemu-devel@nongnu.org; Thu, 23 Nov 2017 14:01:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHwko-0006Oi-O8 for qemu-devel@nongnu.org; Thu, 23 Nov 2017 14:01:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44358) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eHwko-0006Nd-Ij for qemu-devel@nongnu.org; Thu, 23 Nov 2017 14:01:42 -0500 From: P J P Date: Fri, 24 Nov 2017 00:31:29 +0530 Message-Id: <20171123190131.5138-1-ppandit@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] check VirtiQueue Vring objects List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Qemu Developers Cc: Stefan Hajnoczi , zhangboxian , Prasad J Pandit From: Prasad J Pandit Hello, An user could attempt to use an uninitialised VirtQueue object or set Vring object with undue values, raising an unexpected exception in Qemu. This patch set fixes this issue and also adds a unit test to the suite. Thank you. -- Prasad J Pandit (2): virtio: check VirtQueue Vring object is set tests: add test to check VirtQueue object hw/virtio/virtio.c | 11 ++++++++--- tests/virtio-blk-test.c | 21 +++++++++++++++++++++ 2 files changed, 29 insertions(+), 3 deletions(-) -- 2.13.6