Re: [Qemu-devel] [PATCH v1 1/2] virtio: check VirtQueue Vring object is set

2017-11-24 Thread Stefan Hajnoczi
On Fri, Nov 24, 2017 at 01:25:41PM +0530, P J P wrote: > From: Prasad J Pandit > > An user 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 > Signed-off-by: Prasad J Pandit > -

Re: [Qemu-devel] [PATCH v1 1/2] virtio: check VirtQueue Vring object is set

2017-11-24 Thread Cornelia Huck
On Fri, 24 Nov 2017 13:25:41 +0530 P J P wrote: > From: Prasad J Pandit > > An user 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 > Signed-off-by: Prasad J Pandit > --- >

[Qemu-devel] [PATCH v1 1/2] virtio: check VirtQueue Vring object is set

2017-11-23 Thread P J P
From: Prasad J Pandit An user 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 Signed-off-by: Prasad J Pandit --- hw/virtio/virtio.c | 11 --- 1 file changed, 8 insertions(+),