[484] in Kerberos-V5-bugs

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

krb5_get_in_tkt_with_skey

daemon@ATHENA.MIT.EDU (georges rahbani)
Fri May 27 18:27:56 1994

Date: Fri, 27 May 1994 15:27:42 -0700
To: krb5-bugs@MIT.EDU
From: georgesr@wrq.com (georges rahbani)
Cc: georgesr@elmer.wrq.com

Howdy,
    The function krb5_get_in_tkt_with_skey calls the function get_in_tkt and 
passes the address of the function skey_keyproc as an argument. All is good, 
but skey_keyproc after it calls copy_keyblock it checks for return value. If 
there was an error it calls krb5_xfree (realkey);. Now, ifthere was an 
error, realkey will not be pointing to anything allocated. This free call 
may be ok on some systems, but I guess on others it may cause problems (I 
think). Is this true?

Thank you for your help.


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


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