[1019] in Kerberos-V5-bugs

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

kadmin never frees client_name

daemon@ATHENA.MIT.EDU (Jim Miller)
Mon Jan 2 18:40:48 1995

From: jim@bilbo.suite.com (Jim Miller)
Date: Mon, 2 Jan 95 17:40:53 -0600
To: krb5-bugs@MIT.EDU
Reply-To: Jim_Miller@suite.com


This bug report is for KRB5, beta 4, patchlevel 3.

kadmin uses a variable called "client_name" is a couple of different  
places to hold the result of a call to krb5_unparse_name.  In both cases,  
"client_name" is never freed.

Not a big deal, but I thought I'd mention it anyways.

Also, and this is really trivial, the error message in the function  
"kadmin.c/get_first_ticket" should probably say something like:

    Error %s while building kadmin principal!

rather than

    Error %s while building client name!
    


Jim_Miller@suite.com


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