diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-07-24 10:19:26 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-07-24 14:37:43 +0200 |
commit | 077dfd0a89a854c21b91b0f871d034fd9fe82a9a (patch) | |
tree | 54d3716df76f21319db8f144b52f8a82639392c6 /source3/lib/version_test.c | |
parent | a7801db32afb25cc88f171d9b8896b2f663ba351 (diff) | |
download | samba-077dfd0a89a854c21b91b0f871d034fd9fe82a9a.tar.gz samba-077dfd0a89a854c21b91b0f871d034fd9fe82a9a.tar.bz2 samba-077dfd0a89a854c21b91b0f871d034fd9fe82a9a.zip |
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 e9ae36e9683372b86f1efbd29904722a33fea083)
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
Diffstat (limited to 'source3/lib/version_test.c')
0 files changed, 0 insertions, 0 deletions