Re: [PATCH 4/4] build: avoid double-close bug with pipe2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/30/2011 08:24 AM, Daniel P. Berrange wrote:
> On Thu, Jun 30, 2011 at 08:14:56AM -0600, Eric Blake wrote:
>> 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 |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/.gnulib b/.gnulib
>> index cbfd25f..7269b35 160000
>> --- a/.gnulib
>> +++ b/.gnulib
>> @@ -1 +1 @@
>> -Subproject commit cbfd25f0edf5f4b853e8ed2e01a4782ec80faba2
>> +Subproject commit 7269b35c8d9be1a6f97906b9e29b8c422b92fc31
> 
> 
> ACK

Series pushed.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]