[libvirt] [PATCH] libxl: avoid a dereference of a null pointer

Eric Blake eblake at redhat.com
Thu Sep 8 10:14:29 UTC 2011


On 09/06/2011 11:03 PM, Jim Fehlig wrote:
> Alex Jia wrote:
>> Variable 'l_disk' initialized to a null pointer value, control jumps to 'case
>> VIR_DOMAIN_DISK_DEVICE_DISK and then taking false branch, Within the expansion
>> of the macro 'libxlError': Field access results in a dereference of a null
>> pointer (loaded from variable 'l_disk').
>>
>> * src/libxl/libxl_driver.c: Field access results in a dereference of a null
>>    pointer (loaded from variable 'l_disk')
>>
>
> ACK.

Pushed.

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




More information about the libvir-list mailing list