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 16:00:36 +0000 (09:00 -0700)
commit1478ebf2bcadbaf3b66d9e91086bcca39a41bb65
tree1ef060b71c115dffc095973235ae4601a74f0b97
parentc1f8276a81de8d31578f16cc6bfdafc5e807427d
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