[krbdev.mit.edu #7875] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Thu Mar 13 11:46:12 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]

https://github.com/krb5/krb5/commit/27b136d2e3181e787b2d4a03ee712d5d5137f5cd
Author: Nalin Dahyabhai <nalin at dahyabhai.net>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 27b136d2e3181e787b2d4a03ee712d5d5137f5cd
Branch: master
 src/lib/krb5/krb/vfy_increds.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)



More information about the krb5-bugs mailing list