]> git.proxmox.com Git - mirror_qemu.git/commit
aio-epoll: Fix use-after-free of node
authorFam Zheng <famz@redhat.com>
Mon, 16 Nov 2015 06:32:14 +0000 (14:32 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 17 Nov 2015 10:35:57 +0000 (18:35 +0800)
commit0ed39f3df2d3cf7f0fc3468b057f952a3b251ad9
tree055bc6085299bebe5a25b67fd76813532adefbc9
parent02460c3b4287776062715b95c59cd8829015615d
aio-epoll: Fix use-after-free of node

aio_epoll_update needs the fields in node, so delay the free.

Reported-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-id: 1447655534-13974-1-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
aio-posix.c