+Sat Aug 20 00:09:37 1994 Theodore Y. Ts'o (tytso at tsx-11)
+
+ * rc_dfl.c (krb5_rc_dfl_expunge): name (t->name) was getting freed
+ and we tried to use it. Clear t->name to stop it from being
+ freed, and then free it later.
+
Mon Jun 20 19:37:13 1994 Theodore Y. Ts'o (tytso at tsx-11)
* rc_base.h: #include <krb5/osconf.h> so that build works using imake.
#else
struct authlist *q;
- char *name = t->name;
+ char *name;
krb5_error_code retval;
krb5_rcache tmp;
krb5_deltat lifespan = t->lifespan; /* save original lifespan */
+ name = t->name;
+ t->name = 0; /* Clear name so it isn't freed */
(void) krb5_rc_dfl_close_no_free(id);
retval = krb5_rc_dfl_resolve(id, name);
+ free(name);
if (retval)
return retval;
retval = krb5_rc_dfl_recover(id);