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

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

 



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

Michal

--
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]