Re: [libvirt] [PATCH 5/5] esxVMX_GatherSCSIControllers: avoid NULL dereference

2010-04-14 Thread Jim Meyering
Matthias Bolte wrote: > 2010/4/14 Jim Meyering : >> From: Jim Meyering >> >> * src/esx/esx_vmx.c (esxVMX_GatherSCSIControllers): Do not dereference >> a NULL disk->driverName.  We already detect this condition in another >> case.  Check for it here, too. >> --- >>  src/esx/esx_vmx.c |    5 +++-- >

Re: [libvirt] [PATCH 5/5] esxVMX_GatherSCSIControllers: avoid NULL dereference

2010-04-14 Thread Matthias Bolte
2010/4/14 Jim Meyering : > From: Jim Meyering > > * src/esx/esx_vmx.c (esxVMX_GatherSCSIControllers): Do not dereference > a NULL disk->driverName.  We already detect this condition in another > case.  Check for it here, too. > --- >  src/esx/esx_vmx.c |    5 +++-- >  1 files changed, 3 insertions

[libvirt] [PATCH 5/5] esxVMX_GatherSCSIControllers: avoid NULL dereference

2010-04-14 Thread Jim Meyering
From: Jim Meyering * src/esx/esx_vmx.c (esxVMX_GatherSCSIControllers): Do not dereference a NULL disk->driverName. We already detect this condition in another case. Check for it here, too. --- src/esx/esx_vmx.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/es