]> git.proxmox.com Git - qemu.git/commit
qemu-io: Fix multiwrite_f error handling
authorKevin Wolf <kwolf@redhat.com>
Mon, 31 Oct 2011 10:49:21 +0000 (11:49 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 4 Nov 2011 13:23:44 +0000 (14:23 +0100)
commit67403dbba76fb294fb3a2317227f4b77037145cc
treefb6287e71e1ce653a9ae1b462667fc8ab10d0aee
parentf2360620fbebc24a0e2d58d0038ed3a007d28521
qemu-io: Fix multiwrite_f error handling

Without this fix, some qiovs can be leaked if an error occurs. Also a semicolon
at the end of the command line would make the code walk beyond the end of argv.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-io.c