1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
samba-mirror/auth/kerberos
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
..
gssapi_pac.c auth-kerberos: avoid crash with MIT krb5 1.10.0 in gss_get_name_attribute() 2012-06-06 18:22:51 +02:00
kerberos_pac.c auth-krb: Move pac related util functions in a single place. 2012-04-12 12:06:43 +02:00
pac_utils.h gse: Use the smb_gss_oid_equal wrapper. 2012-05-23 17:51:51 +03:00
wscript_build Make krb5 wrapper library common so they can be used all over 2012-04-23 19:20:38 -04:00