diff options
author | Andreas Färber <andreas.faerber@web.de> | 2012-05-28 00:53:20 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-06-22 09:41:31 +0100 |
commit | b34d259516ae2377186171c58c3bc535eb9ed263 (patch) | |
tree | 2169338f0bd564467e42aba2712331884db2e816 /tcg/hppa/tcg-target.c | |
parent | fc8c5b8c41ee5ba69d7a2be63b02a08c7b0b155b (diff) |
libqtest: Fix socket_accept() to pass address_len
accept() expects address_len to point to the length of the sockaddr on
input. Initialize it accordingly.
Resolves an assertion due to EFAULT on illumos.
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'tcg/hppa/tcg-target.c')
0 files changed, 0 insertions, 0 deletions