qemu: Fix job usage in qemuDomainBlockJobImpl
authorJiri Denemark <jdenemar@redhat.com>
Fri, 20 Dec 2013 14:04:09 +0000 (15:04 +0100)
committerEric Blake <eblake@redhat.com>
Wed, 15 Jan 2014 18:01:55 +0000 (11:01 -0700)
commitda2d96d12521a20305d0ea3190539e1c4b367d75
treefb711c7525e53acd45fcbeaf1ef3ccdd0f6f7a46
parent12ca0aaf2fc32647d3a570780a2c7467a26b0ecd
qemu: Fix job usage in qemuDomainBlockJobImpl

CVE-2013-6458

Every API that is going to begin a job should do that before fetching
data from vm->def.

(cherry picked from commit f93d2caa070f6197ab50d372d286018b0ba6bbd8)
src/qemu/qemu_driver.c