]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix rare leak in krb5_cccol_have_content()
authorGreg Hudson <ghudson@mit.edu>
Fri, 21 Oct 2016 06:06:18 +0000 (02:06 -0400)
committerTom Yu <tlyu@mit.edu>
Mon, 24 Oct 2016 19:38:14 +0000 (15:38 -0400)
commit80d909e2053dffa09ec31496439e26eaf8b02560
tree6b240de22c0e16451203a63751ab38f485be5f6b
parenta644a1f0ea587d8af25ab72966d24e9ddd55ce05
Fix rare leak in krb5_cccol_have_content()

If krb5_cc_start_seq_get() fails inside the loop, close the current
credential cache before continuing to the next one.  Reported by Todd
Lipcon.

(cherry picked from commit 1735f2e74767e56ac3bd75de61d41b8363ec6ce4)

ticket: 8509
version_fixed: 1.14.5
src/lib/krb5/ccache/cccursor.c