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

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



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


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