summary refs log tree commit diff stats
path: root/hw/pci/pci.c
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2017-06-29 15:11:50 +0200
committerGreg Kurz <groug@kaod.org>2017-06-29 15:11:50 +0200
commit3a21fb2af07ca6d22e39a766363befbf833f86bb (patch)
tree2757c2acaa55d1cc90671b3ea8f7151c4698ab41 /hw/pci/pci.c
parent453a1b234fc11570e332e91d58e4dbfeec7cb824 (diff)
downloadfocaccia-qemu-3a21fb2af07ca6d22e39a766363befbf833f86bb.tar.gz
focaccia-qemu-3a21fb2af07ca6d22e39a766363befbf833f86bb.zip
virtio-9p: record element after sanity checks
If the guest sends a malformed request, we end up with a dangling pointer
in V9fsVirtioState. This doesn't seem to cause any bug, but let's remove
this side effect anyway.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci/pci.c')
0 files changed, 0 insertions, 0 deletions