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

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



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 redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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