]> xenbits.xensource.com Git - libvirt.git/commitdiff
build: avoid double-close bug with pipe2
authorEric Blake <eblake@redhat.com>
Wed, 29 Jun 2011 22:11:30 +0000 (16:11 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 30 Jun 2011 17:36:52 +0000 (11:36 -0600)
Based on Coverity's finding on the previous patch, I audited
gnulib's pipe2 code and found that we had the potential for
a subtle double-close bug, unless gnulib guarantees that the
contents of the fd array are unchanged on pipe2() failure.

* .gnulib: Update to latest, for pipe2 fix.

.gnulib

diff --git a/.gnulib b/.gnulib
index cbfd25f0edf5f4b853e8ed2e01a4782ec80faba2..7269b35c8d9be1a6f97906b9e29b8c422b92fc31 160000 (submodule)
--- a/.gnulib
+++ b/.gnulib
@@ -1 +1 @@
-Subproject commit cbfd25f0edf5f4b853e8ed2e01a4782ec80faba2
+Subproject commit 7269b35c8d9be1a6f97906b9e29b8c422b92fc31