|
From: | Max Reitz |
Subject: | Re: [Qemu-devel] [PATCH 2/3] qemu-img: fix img_compare() flags error path |
Date: | Tue, 26 Aug 2014 20:30:39 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
On 26.08.2014 20:17, Stefan Hajnoczi wrote:
If img_compare() fails to parse the cache flags the goto out3 code path will call qemu_progress_end(). Make sure we actually call qemu_progress_init() first. Reported-by: Markus Armbruster <address@hidden> Signed-off-by: Stefan Hajnoczi <address@hidden> --- qemu-img.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Reviewed-by: Max Reitz <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |