Re: [PATCH] uuid: fix off-by-one

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

 



On 01/12/2012 01:30 AM, Michal Privoznik wrote:
> On 12.01.2012 01:46, Eric Blake wrote:
>> Detected by Coverity.  Although unlikely, if we are ever started
>> with stdin closed, we could reach a situation where we open a
>> uuid file but then fail to close it, making that file the new
>> stdin for the rest of the process.
>>
>> * src/util/uuid.c (getDMISystemUUID): Allow for stdin.
>> ---
>>  src/util/uuid.c |    4 ++--
>>  1 files changed, 2 insertions(+), 2 deletions(-)
>>
> 
> ACK

Thanks; pushed.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
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]