[libvirt] [PATCH] qemu: Fix two issues in qemuDomainSetVcpus error handling

2015-03-18 Thread John Ferlan
Issue #1 - A call to virBitmapNew did not check if the allocation failed which could lead to a NULL dereference Issue #2 - When deleting the pin entries from the config file, the code loops from the number of elements down to the new vcpu count; however, the pin id values are numbered 0..n-1 not

Re: [libvirt] [PATCH] qemu: Fix two issues in qemuDomainSetVcpus error handling

2015-03-18 Thread Martin Kletzander
On Wed, Mar 18, 2015 at 07:25:29AM -0400, John Ferlan wrote: Issue #1 - A call to virBitmapNew did not check if the allocation failed which could lead to a NULL dereference Issue #2 - When deleting the pin entries from the config file, the code loops from the number of elements down to the new