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:36:58 +0000 (21:36 -0700)
commit36c1691c6d61aa5a0d9a65d64bc3af3e15692d62
treef8a00b7d8d790f992309b78b7d238392672e689c
parent4ee6ed6f50a71868fbb8a5f28edbcfd7170f5bf5
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