]> xenbits.xensource.com Git - libvirt.git/commit
vz: Fix invalid iteration of def->cputune.vcpupin
authorPeter Krempa <pkrempa@redhat.com>
Fri, 18 Dec 2015 15:55:01 +0000 (16:55 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 25 Jan 2016 16:45:09 +0000 (17:45 +0100)
commit68ee703bfefd5f0efd6609aa0747f62ca3c391f3
treed71f2cb16ab41e02946c8e6080e0e6327dd91b13
parentb3c91b8a50ac0d772f883e737252202d48658139
vz: Fix invalid iteration of def->cputune.vcpupin

The array doesn't necessarily have the same cardinality as the count of
vCPUs for a domain. Iterating it can cause access beyond the end of the
array.
src/vz/vz_sdk.c