[libvirt] [PATCH] phyp: avoid a crash

Eric Blake eblake at redhat.com
Sat May 14 15:27:22 UTC 2011


On 05/14/2011 02:10 AM, Matthias Bolte wrote:
> 2011/5/12 Eric Blake <eblake at redhat.com>:
>> This has been present since the introduction of phypAttachDevice
>> in commit 444fd07a.
>>
>> * src/phyp/phyp_driver.c (phypAttachDevice): Don't dereference
>> NULL.
> 
> Your patch doesn't make it worse as it already is and it avoids a segfault.
> 
> Yes, the virDomainDefPtr handling needs improvement.
> 
> 
> ACK, to the fix of the directly problem here.

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/20110514/c4ae32f4/attachment-0001.sig>


More information about the libvir-list mailing list