]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nwfilter: address more coverity findings
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Thu, 26 Apr 2012 20:45:36 +0000 (16:45 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Thu, 26 Apr 2012 20:45:36 +0000 (16:45 -0400)
commit42548fbf2aeb0751f2abcf37bd825fceb2d99ca8
treeecd4f75074c08ea59d2c38271d78acc62c8b22dc
parent9c1ce3dc118b7859d1ea322f285a838d4589b1d9
nwfilter: address more coverity findings

This patch addresses the following coverity findings:

/libvirt/src/conf/nwfilter_params.c:390:
var_assigned: Assigning: "varValue" = null return value from "virHashLookup".

/libvirt/src/conf/nwfilter_params.c:392:
dereference: Dereferencing a pointer that might be null "varValue" when calling "virNWFilterVarValueGetNthValue".

/libvirt/src/conf/nwfilter_params.c:399:
dereference: Dereferencing a pointer that might be null "tmp" when calling "virNWFilterVarValueGetNthValue".
src/conf/nwfilter_params.c