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:41:48 +0000 (21:41 -0700)
commit7354aaf4607beaa9f4a6d68e3b26a28c97494e58
tree1b6be30806b0484c8cb17e2e1e996e57e9f56a9e
parent0e98442e3bcbf832f49a6d36f94558bb026e3f3a
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