aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi-commands.py
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 /scripts/qapi-commands.py
parent9pfs: replace g_malloc()+memcpy() with g_memdup() (diff)
downloadqemu-3a21fb2af07ca6d22e39a766363befbf833f86bb.tar.xz
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 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions