commit | 535b45631ad7176e10dab89d55443b5a096500b9 | [log] [tgz] |
---|---|---|
author | Andreas Färber <afaerber@suse.de> | Thu Apr 17 19:21:12 2014 +0200 |
committer | Andreas Färber <afaerber@suse.de> | Mon May 05 20:58:33 2014 +0200 |
tree | d78cd4408f6b5e4ea1092ee2bddc341ec9c222e5 | |
parent | a7d915f388355f5353f2b692a1abd7868b8307a1 [diff] |
qtest: Be paranoid about accept() addrlen argument 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. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>