]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix memory leak in krb5_verify_init_creds
authorNalin Dahyabhai <nalin@dahyabhai.net>
Mon, 17 Feb 2014 22:14:20 +0000 (17:14 -0500)
committerGreg Hudson <ghudson@mit.edu>
Thu, 13 Mar 2014 15:39:44 +0000 (11:39 -0400)
commit27b136d2e3181e787b2d4a03ee712d5d5137f5cd
treed0c6f71ad9fae039f315d5d27f250f8195f58acf
parent1ed3f68c2394fbb48731bba4e4e9a60c8b925ca5
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@mit.edu: edited commit message]

ticket: 7875 (new)
target_version: 1.12.2
tags: pullup
src/lib/krb5/krb/vfy_increds.c