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 17:58:06 +0000 (10:58 -0700)
commitfa5c087aef266e27a0641c720bbbf95cd5ace6b1
treebd065035ec0a3782d5e06e2e3139c3723edd3412
parente966f1155ccb1c4e3ddc41a02b1107af2d98f98d
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