]> git.ipfire.org Git - thirdparty/libvirt.git/commit
esx: Fix managed object lookup with optional occurrence
authorMatthias Bolte <matthias.bolte@googlemail.com>
Tue, 6 Sep 2011 17:05:08 +0000 (19:05 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Thu, 8 Sep 2011 08:36:48 +0000 (10:36 +0200)
commit4d3d3e475f96935b7cf9fce2a28d3b2563502848
tree6b80380aece775cc145e39c4d84d6453b7896515
parentd1a366be055ac4523ffb3db87118882e2f26864f
esx: Fix managed object lookup with optional occurrence

Exit early if managed object is not found, instead of dereferencing
a NULL pointer and triggering a segfault.
src/esx/esx_vi.c