1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/source4/lib/socket
Stefan Metzmacher 077dfd0a89 s4-lib/socket: Allocate a the larger sockaddr_un and not just a sockaddr_in in unixdom_get_my_addr()
This caused crashes in _tsocket_address_bsd_from_sockaddr() when we
read past the end of the allocation.

(similar to commit e9ae36e968)

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10042

Signed-off-by: Stefan Metzmacher <metze@samba.org>

Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Jul 24 14:37:43 CEST 2013 on sn-devel-104
2013-07-24 14:37:43 +02:00
..
access.c s4-socket: rename allow_access() to socket_allow_access() 2011-05-03 07:37:07 +02:00
connect_multi.c s4:lib/socket: add socket_connect_multi_ex_* 2011-11-30 13:41:08 +01:00
connect.c s4:lib: use tevent_ fns names instead of legcay event_ ones 2011-08-13 09:54:16 -04:00
interface.c lib/param: Remove use of lp{cfg,}_socket_address outside the NBT client and server 2012-07-27 17:59:51 +10:00
netif.h lib/socket move interfaces code to the top level 2011-05-08 12:57:04 +02:00
socket_ip.c s3: Fix the clustering build 2011-12-17 18:41:39 +01:00
socket_unix.c s4-lib/socket: Allocate a the larger sockaddr_un and not just a sockaddr_in in unixdom_get_my_addr() 2013-07-24 14:37:43 +02:00
socket.c s4-socket: do not segfault if the socket is NULL 2011-11-01 19:02:52 +01:00
socket.h s4:lib/socket: add socket_connect_multi_ex_* 2011-11-30 13:41:08 +01:00
testsuite.c s4-ipv6: update callers to load_interface_list() 2011-06-06 12:26:10 +10:00
wscript_build cli_composite: Lowercase name. 2011-07-26 13:31:09 +02:00