1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/auth
Alexander Bokovoy 238d24af4e auth-kerberos: avoid crash with MIT krb5 1.10.0 in gss_get_name_attribute()
gss_get_name_attribute() can return unintialized pac_display_buffer
and later gss_release_buffer() will crash on attempting to release it.

The fix on MIT krb5 side is in 1.10.1, reported in both Debian and MIT upstream:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658514
http://krbdev.mit.edu/rt/Ticket/Display.html?user=guest&pass=guest&id=7087

We need to initialize variables before using gss_get_name_attribute()

Autobuild-User: Alexander Bokovoy <ab@samba.org>
Autobuild-Date: Wed Jun  6 18:22:51 CEST 2012 on sn-devel-104
2012-06-06 18:22:51 +02:00
..
credentials auth/credentials: 'workgroup' set via command line will not drop existing ccache 2012-05-24 16:21:26 +02:00
gensec auth/gensec: implement gensec_spnego_expire_time() 2012-05-17 20:04:33 +02:00
kerberos auth-kerberos: avoid crash with MIT krb5 1.10.0 in gss_get_name_attribute() 2012-06-06 18:22:51 +02:00
ntlmssp auth/ntlmssp: Remove reference to struct ntlmssp_state 2012-03-09 14:31:25 +11:00
auth_sam_reply.c idl: Improve MS-PAC IDL 2011-10-24 19:19:28 +02:00
auth_sam_reply.h auth: Split out make_user_info_SamBaseInfo and add authenticated argument 2011-07-20 09:17:14 +10:00
common_auth.h auth: Rename some elements of auth4_context 2012-02-24 11:23:18 +11:00
wscript_build ntlmssp: Move ntlmssp code to auth/ntlmssp 2011-10-18 13:13:31 +11:00