diff options
author | Andreas Schneider <asn@samba.org> | 2015-10-27 09:26:40 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2015-10-27 14:58:04 +0100 |
commit | be46c97142b9e79c45c8fdf078ac5245813738ba (patch) | |
tree | e9f0f059d1fcd2790351861beecc0770e9c50dd6 /tests/torture.c | |
parent | 73b2b4f16b4b5f51d4e13fba7444844e13a9f7cc (diff) | |
download | socket_wrapper-be46c97142b9e79c45c8fdf078ac5245813738ba.tar.gz socket_wrapper-be46c97142b9e79c45c8fdf078ac5245813738ba.tar.xz socket_wrapper-be46c97142b9e79c45c8fdf078ac5245813738ba.zip |
swrap: Fix recvmsg() with UDP
This worked if the unix path was bigger than sizeof(struct sockaddr_in6).
With a short unix socket pathname the buffer was to small to store the
address and convert_un_in() failed.
Thanks to Grigorij Demidov <grigorii.demidov@nic.cz>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'tests/torture.c')
0 files changed, 0 insertions, 0 deletions