[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 1/2] virtio: check VirtQueue Vring object is
From: |
Cornelia Huck |
Subject: |
Re: [Qemu-devel] [PATCH v4 1/2] virtio: check VirtQueue Vring object is set |
Date: |
Thu, 30 Nov 2017 10:32:15 +0100 |
On Wed, 29 Nov 2017 23:14:27 +0530
P J P <address@hidden> wrote:
> From: Prasad J Pandit <address@hidden>
>
> A guest could attempt to use an uninitialised VirtQueue object
> or unset Vring.align leading to a arithmetic exception. Add check
> to avoid it.
>
> Reported-by: Zhangboxian <address@hidden>
> Signed-off-by: Prasad J Pandit <address@hidden>
> ---
> hw/virtio/virtio.c | 14 +++++++++++---
> 1 file changed, 11 insertions(+), 3 deletions(-)
Reviewed-by: Cornelia Huck <address@hidden>