]> git.ipfire.org Git - thirdparty/libvirt.git/commit
esxVMX_GatherSCSIControllers: avoid NULL dereference
authorJim Meyering <meyering@redhat.com>
Wed, 14 Apr 2010 08:18:20 +0000 (10:18 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 14 Apr 2010 09:59:18 +0000 (11:59 +0200)
commitdc8dd7f8db9de013ef9481bed933bd4f970af4fc
tree905a26edb6598d5fc9b58e35c65a7d2548894f26
parent29045d88ed12775edf355b51ea61ff3f2856fd14
esxVMX_GatherSCSIControllers: avoid NULL dereference

* 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