]> Git Repo - qemu.git/commit
virtio-9p: record element after sanity checks
authorGreg Kurz <[email protected]>
Thu, 29 Jun 2017 13:11:50 +0000 (15:11 +0200)
committerGreg Kurz <[email protected]>
Thu, 29 Jun 2017 13:11:50 +0000 (15:11 +0200)
commit3a21fb2af07ca6d22e39a766363befbf833f86bb
tree2757c2acaa55d1cc90671b3ea8f7151c4698ab41
parent453a1b234fc11570e332e91d58e4dbfeec7cb824
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 <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
hw/9pfs/virtio-9p-device.c
This page took 0.0212 seconds and 4 git commands to generate.