[krbdev.mit.edu #7875] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Thu Jun 26 16:53:41 EDT 2014


Fix memory leak in krb5_verify_init_creds

When copying most of the credentials from one cache to another in
copy_creds_except (called from get_vfy_cred, from
krb5_verify_init_creds), we need to free all of the credentials that
we read, not just the ones we copied.

[ghudson at mit.edu: edited commit message]

(cherry picked from commit 27b136d2e3181e787b2d4a03ee712d5d5137f5cd)

https://github.com/krb5/krb5/commit/5105476b8a83039a787b666fe2718763a2a69c7b
Author: Nalin Dahyabhai <nalin at dahyabhai.net>
Committer: Tom Yu <tlyu at mit.edu>
Commit: 5105476b8a83039a787b666fe2718763a2a69c7b
Branch: krb5-1.12
 src/lib/krb5/krb/vfy_increds.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)



More information about the krb5-bugs mailing list