diff options
| author | Prasad J Pandit <pjp@fedoraproject.org> | 2017-11-29 23:14:27 +0530 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2017-12-01 19:05:58 +0200 |
| commit | 758ead31c7e17bf17a9ef2e0ca1c3e86ab296b43 (patch) | |
| tree | bd19c0514a7c1ed1e90bdf6df63d8e28744d3c8b /hw/intc/omap_intc.c | |
| parent | 2fe45ec3bffbd3a26f2ed39f60bab0ca5217d8f6 (diff) | |
| download | focaccia-qemu-758ead31c7e17bf17a9ef2e0ca1c3e86ab296b43.tar.gz focaccia-qemu-758ead31c7e17bf17a9ef2e0ca1c3e86ab296b43.zip | |
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/intc/omap_intc.c')
0 files changed, 0 insertions, 0 deletions