svn rev #18072: trunk/src/ kdc/ lib/kadm5/

epeisach@MIT.EDU epeisach at MIT.EDU
Wed May 31 23:18:20 EDT 2006


Commit By: epeisach
Log Message: 
ticket: new
subject: krb5 1.5 alpha - memory leaks in krb5kdc due to not freeing error messages 
tags: pullup

In the kdc and lib/kadm5/logger.c, krb5_get_error_message needs to be paired
with krb5_free_error_message to release returned memory.  

Essentially a memory leak was introduced for every principal requested
that did not exist in the database.

Identified by valgrind on the kdc - running kdc_hammer and specifying
more principals than are present in the db.




Changed Files:
U   trunk/src/kdc/do_as_req.c
U   trunk/src/kdc/do_tgs_req.c
U   trunk/src/kdc/kdc_preauth.c
U   trunk/src/lib/kadm5/logger.c



More information about the cvs-krb5 mailing list