]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virExec: fix logic bug
authorEric Blake <eblake@redhat.com>
Fri, 24 Dec 2010 15:40:42 +0000 (08:40 -0700)
committerEric Blake <eblake@redhat.com>
Fri, 31 Dec 2010 17:12:10 +0000 (10:12 -0700)
commite80ed3fd3bd6d6d100b46f06474b8cb8406cdfc5
tree92b780b3192333599e9f7102035116c4e630313d
parent77094eaf3a0f7b271b9b94e8712ebc85b75dd84f
virExec: fix logic bug

As pointed out in https://bugzilla.redhat.com/show_bug.cgi?id=659855#c9,
commit c3568ec2 introduced a regression where we no longer close any
fd's beyond FD_SETSIZE.

* src/util/util.c (__virExec): Continue to close fd's beyond
keepfd range.
Reported by Stefan Praszalowicz.
src/util/util.c