diff options
author | Greg Hudson <ghudson@mit.edu> | 2011-05-09 17:28:07 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2011-05-09 17:28:07 +0000 |
commit | 779a79f566abdb82a989ef2dfcba43ac656c2da7 (patch) | |
tree | b17f9b0964c2d2438e757a52fcbe1c43812c965d /src/lib/gssapi | |
parent | f0cd743abeb1559bbebb0503b103aab532b94aa3 (diff) | |
download | krb5-779a79f566abdb82a989ef2dfcba43ac656c2da7.tar.gz krb5-779a79f566abdb82a989ef2dfcba43ac656c2da7.tar.xz krb5-779a79f566abdb82a989ef2dfcba43ac656c2da7.zip |
Delete sec context properly in gss_krb5_export_lucid_sec_context
Since r21690, gss_krb5_export_lucid_sec_context() has been passing a
union context to krb5_gss_delete_sec_context(), causing a crash as the
krb5 routine attempts to interpret a union context structure as a krb5
GSS context. Call the mechglue gss_delete_sec_context instead.
ticket: 6908
target_version: 1.9.2
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24917 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/gssapi')
-rw-r--r-- | src/lib/gssapi/krb5/krb5_gss_glue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/gssapi/krb5/krb5_gss_glue.c b/src/lib/gssapi/krb5/krb5_gss_glue.c index bc3b7c7f92..0035d4fb02 100644 --- a/src/lib/gssapi/krb5/krb5_gss_glue.c +++ b/src/lib/gssapi/krb5/krb5_gss_glue.c @@ -196,7 +196,7 @@ gss_krb5_export_lucid_sec_context(OM_uint32 *minor_status, /* Clean up the context state (it is an error for * someone to attempt to use this context again) */ - (void)krb5_gss_delete_sec_context(minor_status, context_handle, NULL); + (void)gss_delete_sec_context(minor_status, context_handle, NULL); *context_handle = GSS_C_NO_CONTEXT; generic_gss_release_buffer_set(&minor, &data_set); |