svn rev #19582: trunk/ src/lib/krb5/krb/

tlyu@MIT.EDU tlyu at MIT.EDU
Mon Jun 18 17:07:37 EDT 2007


Commit By: tlyu
Log Message: 
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.




Changed Files:
_U  trunk/
U   trunk/src/lib/krb5/krb/walk_rtree.c



More information about the cvs-krb5 mailing list