Re: [Qemu-devel] [PATCH] qemu-img: Fix segmentation fault

2012-05-14 Thread Kevin Wolf
Am 11.05.2012 18:57, schrieb Charles Arnold: > The following command generates a segmentation fault. > qemu-img convert -O vpc -o ? test test2 > This is because the 'goto out;' statement calls qemu_progress_end > before qemu_progress_init is called resulting in a NULL pointer > invocation. > > Si

[Qemu-devel] [PATCH] qemu-img: Fix segmentation fault

2012-05-11 Thread Charles Arnold
The following command generates a segmentation fault. qemu-img convert -O vpc -o ? test test2 This is because the 'goto out;' statement calls qemu_progress_end before qemu_progress_init is called resulting in a NULL pointer invocation. Signed-off-by: Charles Arnold --- diff --git a/qemu-img.c b