]> 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)
committerGreg Hudson <ghudson@mit.edu>
Mon, 24 Oct 2016 15:41:18 +0000 (11:41 -0400)
commit1735f2e74767e56ac3bd75de61d41b8363ec6ce4
treed05ccb57e1f5978b887739270f7345937e27add3
parente501e933b830010df599e9292a8b65eb02138aaf
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.

ticket: 8509
target_version: 1.15-next
target_version: 1.14-next
tags: pullup
src/lib/krb5/ccache/cccursor.c