[krbdev.mit.edu #3826] CVS Commit

Ezra Peisach via RT rt-comment at krbdev.mit.edu
Wed May 31 23:18:26 EDT 2006


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.


Commit By: epeisach



Revision: 18072
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 krb5-bugs mailing list