]> git.ipfire.org Git - thirdparty/libvirt.git/commit
esx_vi.c: do not call through NULL function pointer
authorJim Meyering <meyering@redhat.com>
Tue, 15 Dec 2009 18:22:31 +0000 (19:22 +0100)
committerJim Meyering <meyering@redhat.com>
Wed, 16 Dec 2009 12:39:15 +0000 (13:39 +0100)
commitde3e38a65e210195d3e4bf6c5e0efbbfbd4203f6
treed81bbb466dbb150f5cb338607fc91e626f4b03ab
parentfa479727ff42e26a4b1b9af1dab84df5737c2030
esx_vi.c: do not call through NULL function pointer

* src/esx/esx_vi.c (esxVI_List_CastFromAnyType): For invalid
inputs, fail right away.  Do not "goto failure" where a NULL
input pointer would be dereferenced.
src/esx/esx_vi.c