qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 05/10] qtest: Be paranoid about accept() addrlen


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 05/10] qtest: Be paranoid about accept() addrlen argument
Date: Thu, 24 Apr 2014 17:15:20 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Apr 24, 2014 at 02:49:18PM +0200, Andreas Färber wrote:
> POSIX specifies that address_len shall on output specify the length of
> the stored address; it does not however specify whether it may get
> updated on failure as well to, e.g., zero.
> 
> In case EINTR occurs, re-initialize the variable to the desired value.
> 
> Cc: Eric Blake <address@hidden>
> Signed-off-by: Andreas Färber <address@hidden>
> ---
>  tests/libqtest.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Stefan Hajnoczi <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]