pull up r23925 from trunk
authorTom Yu <tlyu@mit.edu>
Wed, 19 May 2010 18:52:32 +0000 (18:52 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 19 May 2010 18:52:32 +0000 (18:52 +0000)
 ------------------------------------------------------------------------
 r23925 | tlyu | 2010-04-22 16:04:01 -0400 (Thu, 22 Apr 2010) | 8 lines

 ticket: 6696
 target_version: 1.8.2
 tags: pullup

 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
version_fixed: 1.8.2
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-8@24057 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/mechglue/g_accept_sec_context.c

index b4b152551c34eee7f68e1e631bc1951658571e05..498bfc4569dac3fc11165db1e313f91c2cdcc618 100644 (file)
@@ -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;