commit | fe54b24930f94bdfbc3d38eccd7adedf35f2f26f | [log] [tgz] |
---|---|---|
author | Pavel Zbitskiy <pavel.zbitskiy@gmail.com> | Sat Jan 11 13:34:10 2014 +0400 |
committer | Michael Tokarev <mjt@tls.msk.ru> | Wed Jan 15 23:36:03 2014 +0400 |
tree | 8b81110f8b419a23ddcfdafa4d776dad6a99055f | |
parent | 19a894ba777fa45c6f89ae007570311384204a69 [diff] |
linux-user: fixed getsockopt() optlen optlen parameter of getsockopt() of type socklen_t* was read into variable of type socklen_t, that caused zeroing out of upper 4 bytes when running s390x on top of x86_64. This patch changes optlen type to abi_ulong. Signed-off-by: Pavel Zbitskiy <pavel.zbitskiy@gmail.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>