[485] in Kerberos-V5-bugs

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

krb5_mk_req_extended

daemon@ATHENA.MIT.EDU (georges rahbani)
Tue May 31 16:20:24 1994

Date: Tue, 31 May 1994 13:19:55 -0700
To: krb5-bugs@MIT.EDU
From: georgesr@wrq.com (georges rahbani)
Cc: georgesr@elmer.wrq.com

Hi,
   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.

Thank you for your help.

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.


Georges Rahbani
Walker, Richer & Quinn, Inc.
georgesr@wrq.com


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