On Fri, Nov 24, 2017 at 01:25:41PM +0530, P J P wrote: > From: Prasad J Pandit <p...@fedoraproject.org> > > 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 <zhangbox...@huawei.com> > Signed-off-by: Prasad J Pandit <p...@fedoraproject.org> > --- > hw/virtio/virtio.c | 11 ++++++++--- > 1 file changed, 8 insertions(+), 3 deletions(-) > > Updated: add vring.num check to virtio_queue_update_rings > -> https://lists.gnu.org/archive/html/qemu-devel/2017-11/msg04499.html
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature