]> git.ipfire.org Git - thirdparty/libvirt.git/commit
xen: Resolve Coverity FORWARD_NULL issue
authorJohn Ferlan <jferlan@redhat.com>
Thu, 23 May 2013 15:07:36 +0000 (11:07 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 23 May 2013 23:19:21 +0000 (19:19 -0400)
commit677981d1be6304e79385ecbd7e16f01d54e8836e
tree2b8bc27c6d4ff5f538a788b36b299c1603b40f6d
parente4de214b3824c67045dcd080340230caf9d3cf36
xen: Resolve Coverity FORWARD_NULL issue

Commit '18b14012' refactored the Xen code resulting in a Coverity
warning about possible NULL reference if the path where the XM driver
takes puts the def on it's list.  Moved/duplicated the virGetDomain()
call to pacify the possible NULL deref.
src/xen/xen_driver.c