Fix memory leaks in FAST TGS support
authorGreg Hudson <ghudson@mit.edu>
Fri, 9 Dec 2011 17:57:47 +0000 (17:57 +0000)
committerGreg Hudson <ghudson@mit.edu>
Fri, 9 Dec 2011 17:57:47 +0000 (17:57 +0000)
commit50fb5d3192e68abf02d2c1dbebe51b4eb268972c
tree9bcd54eb15db10bfb73c54126edd3ba2e310da45
parentc46149123370939afc76276aebadf30adf815690
Fix memory leaks in FAST TGS support

krb5int_fast_prep_req remove tgs from request->padata and needs to
free it.  get_creds.c needs to use a fresh FAST state for each TGS
request to avoid leaking armor keys.

ticket: 7026

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25535 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/fast.c
src/lib/krb5/krb/get_creds.c