]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: Fix possible crash in qemuProcessSetVcpuAffinities
authorPeter Krempa <pkrempa@redhat.com>
Thu, 28 May 2015 14:22:13 +0000 (16:22 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 3 Jun 2015 07:42:07 +0000 (09:42 +0200)
commitff4c42ed7a917635fb93e9d5b2120b2d22d86504
tree363156956a5683de9db6a8d2f7d46aff87e23e74
parent0d76794366f912114db70f82fa23a5c0b1a9540b
qemu: Fix possible crash in qemuProcessSetVcpuAffinities

In case when <vcpu ... cpuset=""> is not specified, the vcpupin array is
not guaranteed to be allocated to def->vcpus. This would cause a crash
for TCG since it does not report thread IDs for vCPUs.
src/qemu/qemu_process.c