summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1995-06-09 02:52:05 +0000
committerTheodore Tso <tytso@mit.edu>1995-06-09 02:52:05 +0000
commit78091a185453594003c607b8e23d90993f33363c (patch)
treef597147b8545fb4af2ff16e19a1bab9845597a59
parent0a031b7b1bdd41e645e027cb827338e82e88816a (diff)
downloadkrb5-78091a185453594003c607b8e23d90993f33363c.tar.gz
krb5-78091a185453594003c607b8e23d90993f33363c.tar.xz
krb5-78091a185453594003c607b8e23d90993f33363c.zip
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
-rw-r--r--src/lib/krb5/krb/ChangeLog6
-rw-r--r--src/lib/krb5/krb/rd_cred.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog
index 93e73142aa..bb7c337818 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 <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,
diff --git a/src/lib/krb5/krb/rd_cred.c b/src/lib/krb5/krb/rd_cred.c
index 0260b21baf..71d830ee11 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;