diff options
author | 2017-06-29 15:11:50 +0200 | |
---|---|---|
committer | 2017-06-29 15:11:50 +0200 | |
commit | 3a21fb2af07ca6d22e39a766363befbf833f86bb (patch) | |
tree | 2757c2acaa55d1cc90671b3ea8f7151c4698ab41 /scripts/qapi-commands.py | |
parent | 9pfs: replace g_malloc()+memcpy() with g_memdup() (diff) | |
download | qemu-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