[krbdev.mit.edu #7573] SVN Commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Thu Feb 21 13:38:43 EST 2013


Fix fd leak in DIR ccache cursor function

If dcc_ptcursor_next reached the end of a directory, it called free()
on the directory handle instead of closedir(), causing the directory
fd to be leaked.  Call closedir() instead.

(cherry picked from commit c29d5f61af301aa8993b01ed0e3eb4f529d6862c)

https://github.com/krb5/krb5/commit/c47d02b2f191644eaf352b7e564d927fbd8b12d4
Author: Greg Hudson <ghudson at mit.edu>
Committer: Tom Yu <tlyu at mit.edu>
Commit: c47d02b2f191644eaf352b7e564d927fbd8b12d4
Branch: krb5-1.11
 src/lib/krb5/ccache/cc_dir.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)



More information about the krb5-bugs mailing list