Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
- Loading branch information