diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-11-25 12:06:22 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-12-15 12:40:33 +0100 |
commit | bd83b3620517ef9f2079cfda465953e60263f623 (patch) | |
tree | f9b07a82ad4e56215f022dc5a6142c32f87bd6d6 /device_tree.h | |
parent | 16d2fc002a01cdd77e696ecc69de54db6720476a (diff) |
qiov: prevent double free or use-after-free
qemu_iovec_destroy does not clear the QEMUIOVector fully, and the data
could thus be used after free or freed again. While I do not know any
example in the tree, I observed this using virtio-scsi (and SCSI
scatter/gather) when canceling DMA requests.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'device_tree.h')
0 files changed, 0 insertions, 0 deletions