From: Tom Yu Date: Thu, 22 Apr 2010 20:04:01 +0000 (+0000) Subject: Apply patch from Arlene Berry to cease freeing error tokens output by X-Git-Tag: krb5-1.9-beta1~272 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=29cde7afd9e12eaf9a1aee2efe780a26bbe87f8f;p=krb5.git Apply patch from Arlene Berry to cease freeing error tokens output by accept_sec_context, allowing them to actually be sent to the initiator. ticket: 6696 target_version: 1.8.2 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23925 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/gssapi/mechglue/g_accept_sec_context.c b/src/lib/gssapi/mechglue/g_accept_sec_context.c index b4b152551..498bfc456 100644 --- a/src/lib/gssapi/mechglue/g_accept_sec_context.c +++ b/src/lib/gssapi/mechglue/g_accept_sec_context.c @@ -356,9 +356,6 @@ error_out: free(union_ctx_id); } - if (output_token->length) - (void) gss_release_buffer(&temp_minor_status, output_token); - if (src_name) *src_name = GSS_C_NO_NAME;