Re: [Qemu-devel] [PATCH] libqtest: only call fclose() on open files

2013-05-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH] libqtest: only call fclose() on open files

2013-04-30 Thread Anthony Liguori
Jesse Larrew writes: > libqtest.c can segfault when calling fclose() if the pidfile wasn't > opened successfully. This patch fixes the issue. > > Signed-off-by: Jesse Larrew Reviewed-by: Anthony Liguori Regards, Anthony Liguori > --- > tests/libqtest.c | 2 +- > 1 file changed, 1 insertion

[Qemu-devel] [PATCH] libqtest: only call fclose() on open files

2013-04-29 Thread Jesse Larrew
libqtest.c can segfault when calling fclose() if the pidfile wasn't opened successfully. This patch fixes the issue. Signed-off-by: Jesse Larrew --- tests/libqtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libqtest.c b/tests/libqtest.c index 884f959..879ffe9 100