[krbdev.mit.edu #8792] git commit

Greg Hudson via RT rt-comment at KRBDEV-PROD-APP-1.mit.edu
Thu Apr 18 16:54:00 EDT 2019


Fix potential close(-1) in cc_file.c

As part of error handling in d3b39a8bac6206b5ea78b0bf6a2958c1df0b0dd5,
an error path in delete_cred() may result in close(-1).  While this
shouldn't be a prolblem in practice (just returning EBADF), it does
upset Coverity.

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



More information about the krb5-bugs mailing list