[krbdev.mit.edu #5579] SVN Commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Tue Jun 19 15:22:57 EDT 2007


pull up r19582 from trunk

 r19582 at cathode-dark-space:  tlyu | 2007-06-18 17:07:37 -0400
 ticket: new
 subject: krb5_walk_realm_tree leaks in capaths case
 target_version: 1.6.2
 tags: pullup
 
 Markus Moeller reports a leak in krb5_get_credentials() which was then
 traced down to profile strings leaking from within
 krb5_walk_realm_tree().  A pointer to a profile string was getting
 overwritten without the string being freed when *cap_nodes[0] == '.'.
 Fix is to free the string prior to overwriting the pointer if the
 pointer is non-null.
 
 


Commit By: tlyu



Revision: 19593
Changed Files:
_U  branches/krb5-1-6/
U   branches/krb5-1-6/src/lib/krb5/krb/walk_rtree.c




More information about the krb5-bugs mailing list