1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4/lib
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
..
cmdline waf: Make sure we link against samba-util. 2013-02-14 16:56:29 +01:00
com s4-lib: Don't leak plugin handle on error. 2013-02-22 16:36:14 +01:00
events s4:lib/events: make use of samba_tevent_set_debug() 2013-02-28 12:12:36 +01:00
messaging Move python modules from source4/scripting/python/ to python/. 2013-03-02 03:57:34 +01:00
policy s4-policy: Fix memory leaks in push_recursive(). 2013-02-22 16:36:14 +01:00
registry s4-libregistry: Improve NULL handling of name. 2013-03-05 23:30:11 +01:00
samba3 s4-lib/samba3: Remove unused smbpasswd_decode_acb_info() 2012-02-10 16:45:13 +11:00
socket 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
stream s4 dns: Fix TCP handling in the DNS server 2012-03-06 21:17:18 +01:00
tls s4-lib/tls: Try socket_send() multiple times to send partial packets 2012-07-18 11:23:55 +02:00
wmi s4:lib/wmi: avoid '//' comments 2011-10-08 07:24:14 +02:00