svn rev #24139: trunk/src/lib/gssapi/krb5/

ghudson@MIT.EDU ghudson at MIT.EDU
Mon Jun 21 11:18:37 EDT 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=24139
Commit By: ghudson
Log Message:
ticket: 6745
subject: Add correct error table when initializing gss-krb5
target_version: 1.8.3
tags: pullup

gss_krb5int_lib_init was adding the generic GSS error table (again)
instead of the krb5 error table, which could lead to crashes on
library unload.  This bug was introduced in krb5 1.7; the fix is also
applicable there.

Patch from Leonardo Chiquitto <leonardo.lists at gmail.com>.



Changed Files:
U   trunk/src/lib/gssapi/krb5/gssapi_krb5.c
Modified: trunk/src/lib/gssapi/krb5/gssapi_krb5.c
===================================================================
--- trunk/src/lib/gssapi/krb5/gssapi_krb5.c	2010-06-18 19:41:48 UTC (rev 24138)
+++ trunk/src/lib/gssapi/krb5/gssapi_krb5.c	2010-06-21 15:18:37 UTC (rev 24139)
@@ -772,7 +772,7 @@
     printf("gss_krb5int_lib_init\n");
 #endif
 
-    add_error_table(&et_ggss_error_table);
+    add_error_table(&et_k5g_error_table);
 
 #ifndef LEAN_CLIENT
     err = k5_mutex_finish_init(&gssint_krb5_keytab_lock);




More information about the cvs-krb5 mailing list