[libvirt] [PATCH] esx: Fix managed object lookup with optional occurrence

Eric Blake eblake at redhat.com
Wed Sep 7 13:54:40 UTC 2011


On 09/06/2011 09:01 PM, Matthias Bolte wrote:
> Exit early if managed object is not found, instead of dereferencing
> a NULL pointer and triggering a segfault.
> ---
>   src/esx/esx_vi.c |    8 +++++++-
>   1 files changed, 7 insertions(+), 1 deletions(-)

ACK.

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




More information about the libvir-list mailing list