[krbdev.mit.edu #5948] error in filebase+suffix list generation in plugin code
Ken Raeburn via RT
rt-comment at krbdev.mit.edu
Fri Apr 25 12:01:18 EDT 2008
krb5int_get_plugin_filenames works from two lists, filebases[] and fileexts[], to build a list of
filenames to look for. However, it's allocating M+N elements in its array, computing all M*N
combinations, and sticking them into the M+N slots in overlapping passes. No overrun here,
but we can leak memory and omit some filenames from the final list, if filebases ever gets more
than one element, which I think it currently does not.
More information about the krb5-bugs
mailing list