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 04:30:48 +0000 (21:30 -0700)
commit4d8c603ca2cb1fb70c0e0d2e0d51d1fe3261c7b9
treea208c43e2f6a49c1e100ce61adc4859724dbfd5e
parent3a0286f978c19ecc7b2ef2242b33688239428f85
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