[libvirt] [PATCH] qemu: avoid NULL derefs

Eric Blake eblake at redhat.com
Tue Feb 15 17:00:03 UTC 2011


On 02/14/2011 08:26 PM, Daniel Veillard wrote:
> On Mon, Feb 14, 2011 at 04:59:39PM -0700, Eric Blake wrote:
>> The processWatchdogEvent fix is real, although it can only trigger on
>> OOM, since bad things happen if doCoreDump is called with a NULL
>> pathname argument.  The other fixes silence clang, but aren't a real
>> bug because virReportErrorHelper tolerates a NULL format string even
>> though *printf does not.
>>
>> * src/qemu/qemu_driver.c (processWatchdogEvent): Exit on OOM.
>> (qemuDomainIsActive, qemuDomainIsPersistent, qemuDomainIsUpdated):
>> Provide valid message.
> 
>   ACK, fine pushing now,

Thanks; pushed.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110215/e7d49bd6/attachment-0001.sig>


More information about the libvir-list mailing list