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:21:21 +0000 (10:21 -0700)
commit8bdc22d281105fe32c85da58faf817ab9b2da369
tree67ad8036382b57945a4ccee8d4e992f14dad9b0b
parent6eae1538c1d5b7aaee34f3ca81389906d8af0626
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