From 51a3c021ee1e45f3be139efc20a426a72c6b0f84 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Mon, 15 Mar 2004 20:06:29 +0000 Subject: [PATCH] Free unparsed names in SAM response handling Ticket: 2219 Status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16173 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/ChangeLog | 4 ++++ src/kdc/kdc_preauth.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index 617f06c9c..a5a6e39f4 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,7 @@ +2004-03-15 Sam Hartman + + * kdc_preauth.c (verify_sam_response): Free unparsed names + 2004-03-08 Ken Raeburn * Makefile.in (MY_SUBDIRS): Deleted. diff --git a/src/kdc/kdc_preauth.c b/src/kdc/kdc_preauth.c index a8d9216ba..da7ddfa56 100644 --- a/src/kdc/kdc_preauth.c +++ b/src/kdc/kdc_preauth.c @@ -1530,6 +1530,8 @@ verify_sam_response(krb5_context context, krb5_db_entry *client, if (sr) free(sr); if (psr) free(psr); if (esre) free(esre); + if (princ_psr) free(princ_psr); + if (princ_req) free(princ_req); return retval; } -- 2.26.2