[krbdev.mit.edu #8026] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed Nov 5 14:54:06 EST 2014


Fix minor cleanup issue in file ccache

If we fail to open the cache file in fcc_initialize, we could wind up
calling close(-1) which is harmless but incorrect.  Avoid this by
initializing fd and conditionalizing its cleanup.

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



More information about the krb5-bugs mailing list