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 19:27:23 +0000 (12:27 -0700)
commit95836cb26b1d91b8e9eba0c4764bc24cccc78684
tree35adafe6e06b1e416a5c699d1653b048c36769f6
parent7a9bcfa1ccc190e33e6fa931df8143cc9623cf24
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)

Conflicts:
src/qemu/qemu_driver.c - older style BeginJobWithDriver, context
src/qemu/qemu_driver.c