Re: [PATCH] qemudDomainSetVcpus: avoid NULL-deref

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eric Blake wrote:
> On 05/14/2010 04:42 AM, Jim Meyering wrote:
>> Here's a patch for a coverity-spotted bug:
>>
>>>From 12160fa54bc948e5de3fecff6a9552995e9595b0 Mon Sep 17 00:00:00 2001
>> From: Jim Meyering <meyering@xxxxxxxxxx>
>> Date: Fri, 14 May 2010 12:38:43 +0200
>> Subject: [PATCH] qemudDomainSetVcpus: avoid NULL-deref
>>
>> * src/qemu/qemu_driver.c (qemudDomainSetVcpus): Avoid NULL-deref
>> upon unknown UUID.  Call qemuDomainObjBeginJob(vm) only after
>> ensuring that vm != NULL, not before.  This potential NULL-deref
>> was introduced by commit 2c555d87b0041e0d1ec4742386d2161d1b2f0600.
>
> ACK.

Thanks.  Pushed.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]