[krbdev.mit.edu #8437] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Fri Sep 2 17:04:22 EDT 2016


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.

(cherry picked from commit ee7315964e52fe351ddb6884e0e8baf1ecce2144)

https://github.com/krb5/krb5/commit/843ffd81a9fc7899d9d3ee8615f054fbfa1b81a4
Author: Greg Hudson <ghudson at mit.edu>
Committer: Tom Yu <tlyu at mit.edu>
Commit: 843ffd81a9fc7899d9d3ee8615f054fbfa1b81a4
Branch: krb5-1.14
 src/lib/gssapi/krb5/acquire_cred.c |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)



More information about the krb5-bugs mailing list