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

2011-09-08 Thread Eric Blake
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 pointe

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

2011-09-06 Thread Jim Fehlig
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'). >

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

2011-09-04 Thread ajia
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