On Mon, Aug 07, 2006 at 01:46:19PM +0100, Daniel P. Berrange wrote:
I've found the problem - in the last parameter to
virDomainGetVcpuInfo
I thought the cpumaplen parameter was spposed to be the size of the
entire cpumap, when it is only supposed to be the size of one dimension
of it. So, inside virDomainGetVcpuInfo it then did a memset on the cpumap
using cpumaplen * nrVirtCpu, which obviously overflowed if nrVirtCpu was
greater than one. I'll fix this before committing.
The patch is now committed.
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules:
http://search.cpan.org/~danberr/ -=|
|=- Projects:
http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|