[libvirt] [PATCH 2/6] qemu: driver: Fix qemuDomainHelperGetVcpus for sparse vcpu topologies

Jiri Denemark jdenemar at redhat.com
Fri Aug 26 02:24:00 UTC 2016


On Thu, Aug 25, 2016 at 18:42:46 -0400, Peter Krempa wrote:
> ce43cca0e refactored the helper to prepare it for sparse topologies but
> forgot to fix the iterator used to fill the structures. This would
> result into a weirdly sparse populated array and possible out of bounds
> access and crash once sparse vcpu topologies were allowed.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1369988
> ---
>  src/qemu/qemu_driver.c | 12 +++++++-----
>  1 file changed, 7 insertions(+), 5 deletions(-)

ACK

Jirka




More information about the libvir-list mailing list