[krbdev.mit.edu #7573] SVN Commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Thu Feb 21 12:36:46 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.

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



More information about the krb5-bugs mailing list