From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eII9J-0008IH-1i for qemu-devel@nongnu.org; Fri, 24 Nov 2017 12:52:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eII9F-0003r3-Ty for qemu-devel@nongnu.org; Fri, 24 Nov 2017 12:52:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39556) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eII9F-0003oG-Na for qemu-devel@nongnu.org; Fri, 24 Nov 2017 12:52:21 -0500 From: P J P Date: Fri, 24 Nov 2017 23:22:09 +0530 Message-Id: <20171124175211.2234-1-ppandit@redhat.com> Subject: [Qemu-devel] [PATCH v2 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 , Paolo Bonzini , Cornelia Huck , 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 | 14 +++++++++++--- tests/virtio-blk-test.c | 25 +++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 3 deletions(-) -- 2.13.6