[488] in Kerberos-V5-bugs

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

Re: krb5_mk_req_extended

daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Wed Jun 1 15:42:38 1994

Date: Wed, 1 Jun 94 15:42:05 EDT
From: tytso@MIT.EDU (Theodore Ts'o)
To: georgesr@wrq.com
Cc: krb5-bugs@MIT.EDU, georgesr@elmer.wrq.com
In-Reply-To: georges rahbani's message of Tue, 31 May 1994 13:19:55 -0700,
	<9405312020.AA15760@MIT.EDU>

   Date: Tue, 31 May 1994 13:19:55 -0700
   From: georgesr@wrq.com (georges rahbani)

      I am currently looking at the function krb5_mk_req_extended and at
   line 152 in order to fix the problem of sharing pointers between the
   creds struct and the authent struct, there are the lines
   authent.client = NULL; authent.checksum = NULL;

   This is fine but, I cannot see a place where
   "authent.authorization_data = NULL" Since this is a shared pointer as
   well (I think?) We could potentially free the array and leave
   creds->authdata with a dangeling pointer to a free memory. Is this
   true? Or am I missing something here.

This is true.  Thanks for pointing it out!

   PS. I sent a mail last week about get_in_tkt and get_in_tkt_with_skey. I 
   have not received a reply, Is this because I was wrong in my assumptions.

Nope, it was just because I hadn't had a chance to check through the
krb5_bugs mail yet, that's all.  Thanks for your patients, and thanks
for your bug reports.  They're greatly appreciated.

						- Ted

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