]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix potential close(-1) in cc_file.c 918/head
authorRobbie Harwood <rharwood@redhat.com>
Thu, 18 Apr 2019 17:39:37 +0000 (13:39 -0400)
committerGreg Hudson <ghudson@mit.edu>
Thu, 18 Apr 2019 19:28:25 +0000 (15:28 -0400)
commit5ccfbaf2f0c8871d2f0ea87ad4b21cc33392ca2c
treea377b85acb332960402a0c9a6b846b61bf96f589
parent23b93fd48bc445005436c5be98a7269b599b1800
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.

ticket: 8792
src/lib/krb5/ccache/cc_file.c