]> xenbits.xensource.com Git - libvirt.git/commit
virExec: avoid undefined behavior
authorEric Blake <eblake@redhat.com>
Fri, 3 Dec 2010 22:02:01 +0000 (15:02 -0700)
committerEric Blake <eblake@redhat.com>
Fri, 10 Dec 2010 21:18:57 +0000 (14:18 -0700)
commitc3568ec2892c420c931c018719974c01000a18f3
tree4711a6f7ab0e2f164d5fbf794ef271be4c0775d3
parent044f2011aae84e89928f6b4e79f095b2f1f92396
virExec: avoid undefined behavior

* src/util/util.c (__virExec): Don't use FD_ISSET on out-of-bounds fd.
src/util/util.c