Re: [Qemu-devel] [PATCH] aio-epoll: Fix use-after-free of node

2015-11-16 Thread Stefan Hajnoczi
On Mon, Nov 16, 2015 at 02:32:14PM +0800, Fam Zheng wrote: > aio_epoll_update needs the fields in node, so delay the free. > > Reported-by: Paolo Bonzini > Signed-off-by: Fam Zheng > --- > aio-posix.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) Thanks, applied to my block tree

[Qemu-devel] [PATCH] aio-epoll: Fix use-after-free of node

2015-11-16 Thread Fam Zheng
aio_epoll_update needs the fields in node, so delay the free. Reported-by: Paolo Bonzini Signed-off-by: Fam Zheng --- aio-posix.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/aio-posix.c b/aio-posix.c index 06148a9..482b316 100644 --- a/aio-posix.c +++ b/aio-posix.c