]> git.ipfire.org Git - thirdparty/libvirt.git/commit
testutils: Resolve Coverity issues
authorJohn Ferlan <jferlan@redhat.com>
Thu, 11 Jul 2013 11:22:20 +0000 (07:22 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 11 Jul 2013 18:18:11 +0000 (14:18 -0400)
commit8283ef9ea2f4ddf68a72430fdeaf3f10abfc3e7b
tree40c387cd8777a93974ac5dee593975c4f33d65b8
parent0776809659ea014f325e862fe441b5a43be3de9e
testutils: Resolve Coverity issues

Recent changes uncovered a NEGATIVE_RETURNS in the return from sysconf()
when processing a for loop in virtTestCaptureProgramExecChild() in
testutils.c

Code review uncovered 3 other code paths with the same condition that
weren't found by Covirity, so fixed those as well.
src/lxc/lxc_container.c
src/util/vircommand.c
tests/commandhelper.c
tests/testutils.c