]> git.ipfire.org Git - thirdparty/libvirt.git/commit
daemon: Resolve Coverity RESOURCE_LEAK
authorJohn Ferlan <jferlan@redhat.com>
Thu, 11 Sep 2014 20:58:40 +0000 (16:58 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 12 Sep 2014 10:12:50 +0000 (06:12 -0400)
commitc77ac79d6b5a6758f3a980d2edfd0abda9aa7d3e
tree6c5788dd84f9aaa152b1b2b72da20c68358a56f7
parentbe365d8dff1aec37b9a487ca31abce3f904419dd
daemon: Resolve Coverity RESOURCE_LEAK

With eblake's help - adjust the checks for stdinfd/stdoutfd to ensure the
values are within the range we expect; otherwise the dup2()'s and subsequent
VIR_CLOSE() calls cause Coverity to believe there's a resource leak.

Signed-off-by: John Ferlan <jferlan@redhat.com>
daemon/libvirtd.c