]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix leaks on error in krb5 gss_acquire_cred()
authorGreg Hudson <ghudson@mit.edu>
Mon, 27 Jun 2016 21:49:57 +0000 (17:49 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 10 Aug 2016 17:36:50 +0000 (13:36 -0400)
commitee7315964e52fe351ddb6884e0e8baf1ecce2144
tree086196d95aa98cee1d06d6df639aa726585aba4f
parent39b96f8531aefa73f1c48f99e0e0229936a7dcaa
Fix leaks on error in krb5 gss_acquire_cred()

In acquire_cred_context(), when releasing the partially constructed
cred on error, make sure to free the password and impersonator fields,
and to destroy the ccache if we created it.

ticket: 8437 (new)
target_version: 1.14-next
target_version: 1.13-next
tags: pullup
src/lib/gssapi/krb5/acquire_cred.c