diff options
author | Greg Hudson <ghudson@mit.edu> | 2010-06-21 15:18:37 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2010-06-21 15:18:37 +0000 |
commit | 95e7bbb533698db3784712b0057875ac39388152 (patch) | |
tree | 9926f44756e24a18b6483405a94ba75720a3537f /src/lib | |
parent | 357a5946bab220c6af9f243c88d733da2a5fe0bd (diff) | |
download | krb5-95e7bbb533698db3784712b0057875ac39388152.zip krb5-95e7bbb533698db3784712b0057875ac39388152.tar.gz krb5-95e7bbb533698db3784712b0057875ac39388152.tar.bz2 |
Add correct error table when initializing gss-krb5
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@gmail.com>.
ticket: 6745
target_version: 1.8.3
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24139 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/gssapi/krb5/gssapi_krb5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/gssapi/krb5/gssapi_krb5.c b/src/lib/gssapi/krb5/gssapi_krb5.c index e634dcf..ba1dbeb 100644 --- a/src/lib/gssapi/krb5/gssapi_krb5.c +++ b/src/lib/gssapi/krb5/gssapi_krb5.c @@ -772,7 +772,7 @@ int gss_krb5int_lib_init(void) 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); |