From: Theodore Tso Date: Fri, 9 Jun 1995 02:52:05 +0000 (+0000) Subject: Fix problem where the ticket field was assigned with a krb5_data, X-Git-Tag: krb5-1.0-beta6~1815 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=78091a185453594003c607b8e23d90993f33363c;p=krb5.git Fix problem where the ticket field was assigned with a krb5_data, which was then immediately freed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5988 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 93e73142a..bb7c33781 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,9 @@ +Thu Jun 8 22:48:27 1995 Theodore Y. Ts'o + + * 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 * compat_recv.c, auth_con.c, chk_trans.c, encrypt_tk.c, diff --git a/src/lib/krb5/krb/rd_cred.c b/src/lib/krb5/krb/rd_cred.c index 0260b21ba..71d830ee1 100644 --- a/src/lib/krb5/krb/rd_cred.c +++ b/src/lib/krb5/krb/rd_cred.c @@ -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;