aboutsummaryrefslogtreecommitdiff
path: root/hw/i386
diff options
context:
space:
mode:
authorPrasad J Pandit <pjp@fedoraproject.org>2017-11-29 23:14:27 +0530
committerMichael S. Tsirkin <mst@redhat.com>2017-12-01 19:05:58 +0200
commit758ead31c7e17bf17a9ef2e0ca1c3e86ab296b43 (patch)
treebd19c0514a7c1ed1e90bdf6df63d8e28744d3c8b /hw/i386
parent2fe45ec3bffbd3a26f2ed39f60bab0ca5217d8f6 (diff)
downloadqemu-758ead31c7e17bf17a9ef2e0ca1c3e86ab296b43.zip
qemu-758ead31c7e17bf17a9ef2e0ca1c3e86ab296b43.tar.gz
qemu-758ead31c7e17bf17a9ef2e0ca1c3e86ab296b43.tar.bz2
virtio: check VirtQueue Vring object is set
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 <zhangboxian@huawei.com> Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/i386')
0 files changed, 0 insertions, 0 deletions