Fix problem where the ticket field was assigned with a krb5_data,
authorTheodore Tso <tytso@mit.edu>
Fri, 9 Jun 1995 02:52:05 +0000 (02:52 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 9 Jun 1995 02:52:05 +0000 (02:52 +0000)
which was then immediately freed.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5988 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/rd_cred.c

index 93e73142aa003c198e2d59b07fa2990c6ac28ed7..bb7c33781840e5e41ce648f827dac473e5881d6d 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jun  8 22:48:27 1995  Theodore Y. Ts'o  <tytso@dcl>
+
+       * rd_cred.c (krb5_rd_cred_basic): Fix problem where the ticket
+               field was assigned with a krb5_data, which was then
+               immediately freed.
+
 Thu Jun  8 16:06:44 1995    <tytso@rsx-11.mit.edu>
 
        * compat_recv.c, auth_con.c, chk_trans.c, encrypt_tk.c,
index 0260b21baf96b3413910f27776b6f0005f1a511d..71d830ee11734ee7f4edbca5f9ac89d78b2f717d 100644 (file)
@@ -172,7 +172,7 @@ krb5_rd_cred_basic(context, pcreddata, pkeyblock, local_addr, remote_addr,
            goto cleanup;
 
        pcur->ticket = *pdata;
-       krb5_free_data(context, pdata);
+       krb5_xfree(context, pdata);
 
 
         pcur->is_skey = FALSE;