Re: [Qemu-devel] [PATCH] dump: fix use-after-free for s->fd

2014-10-29 Thread Gonglei
On 2014/10/29 23:00, Markus Armbruster wrote: > writes: > >> From: Gonglei >> >> After commit 4c7e251a (), when dump memory completed, >> the s->fd will be closed twice. We should return >> directly when dump completed. >> >> Signed-off-by: Gonglei >> --- >> dump.c | 1 + >> 1 file changed, 1

Re: [Qemu-devel] [PATCH] dump: fix use-after-free for s->fd

2014-10-29 Thread Markus Armbruster
writes: > From: Gonglei > > After commit 4c7e251a (), when dump memory completed, > the s->fd will be closed twice. We should return > directly when dump completed. > > Signed-off-by: Gonglei > --- > dump.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/dump.c b/dump.c > index 06a491

[Qemu-devel] [PATCH] dump: fix use-after-free for s->fd

2014-10-29 Thread arei.gonglei
From: Gonglei After commit 4c7e251a (), when dump memory completed, the s->fd will be closed twice. We should return directly when dump completed. Signed-off-by: Gonglei --- dump.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dump.c b/dump.c index 06a4915..9d9a409 100644 --- a/dump.c ++