[667] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

Re: bug in src/lib/krb5/rcache/rc_dfl.c

daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Sat Aug 20 01:39:21 1994

Date: Sat, 20 Aug 94 01:39:06 EDT
From: tytso@MIT.EDU (Theodore Ts'o)
To: Paul Pomes <P-Pomes@uiuc.edu>
Cc: krb5-bugs@MIT.EDU
In-Reply-To: [665]

   Date: Fri, 19 Aug 1994 11:06:11 -0500
   From: Paul Pomes <P-Pomes@uiuc.edu>

   In  krb5_rc_dfl_expunge() for the case where NOIOSTUFF is not defined,

   When this function is called, it does a

    if (t->name)
	FREE(t->name);

   So name back in krb5_rc_dfl_expunge() becomes null.  This generated the
   error

Thanks for reporting this bug!  I've fixed it by zeroing t->name before
calling krb5_rc_dfl_close_no_free(), and then freeing name after we're
done with it.

						- Ted


home help back first fref pref prev next nref lref last post