[krbdev.mit.edu #3313] doublefree in gc_frm_kdc.c

Jeffrey Altman via RT rt-comment at krbdev.mit.edu
Tue Dec 27 01:19:48 EST 2005


Here is a revision to tom's latest patch.  I am more comfortable with
testing the 'free_tgt' and 'free_otgt' variables and freeing the data
structures at the time we need to replace the value instead of
attempting to make sure that we always clean up after the code as soon
as we think we might be done to put things into the correct state for
later re-use.

I have verified that all of the 'tgt', 'otgt', 'tgtq' and 'tgtr'
variables are appropriately initialized and freed regardless of the
error states.

Jeffrey Altman



More information about the krb5-bugs mailing list