[778] in Kerberos-V5-bugs

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

gssapi accept_sec_context calls free() twice.

daemon@ATHENA.MIT.EDU (John Gardiner Myers)
Mon Sep 26 22:41:49 1994

Date: Mon, 26 Sep 1994 22:40:37 -0400 (EDT)
From: John Gardiner Myers <jgm+@CMU.EDU>
To: krb5-bugs@MIT.EDU

In krb5_gss_accept_sec_context(), there are the lines:

   /* close and free the rcache */

   krb5_rc_close(rcache);
   xfree(rcache);

However, krb5_rc_dfl_close() calls free() on its argument, so 'rcache'
gets free()d twice.

-- 
_.John G. Myers		Internet: jgm+@CMU.EDU
			LoseNet:  ...!seismo!ihnp4!wiscvm.wisc.edu!give!up

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