]> git.ipfire.org Git - thirdparty/libvirt.git/commit
xen: Resolve Coverity FORWARD_NULL
authorJohn Ferlan <jferlan@redhat.com>
Mon, 4 May 2015 16:00:40 +0000 (12:00 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 6 May 2015 00:02:37 +0000 (20:02 -0400)
commitc9a8e5944034a92df52de93a58a4f05f5b76e6c6
treecf05190e55e208a942d778df307758ee8550426d
parent75dfbb85c7292779f32ffc17860f965ebd0edd1f
xen: Resolve Coverity FORWARD_NULL

Coverity found that xenXMConfigCacheAddFile has an error path in which
no error message and a -1 was not returned which could have resulted in
a NULL dereference in a VIR_DEBUG statement and of course an erroneous
0 value returned!
src/xen/xm_internal.c