KDC memory leak of reply padata for FAST replies
authorGreg Hudson <ghudson@mit.edu>
Thu, 17 Mar 2011 22:10:44 +0000 (22:10 +0000)
committerGreg Hudson <ghudson@mit.edu>
Thu, 17 Mar 2011 22:10:44 +0000 (22:10 +0000)
commit05bccaa5a0d4eba3845fb26a0914ffe891f154ca
tree046e108f903e021c997afaec053c62a7fb207f84
parentc2edcfc6afcdc27a007806d48707f6709418eabc
KDC memory leak of reply padata for FAST replies

kdc_fast_response_handle_padata() replaces rep->padata, causing the
old value to be leaked.  As a minimal fix, free the old value of
rep->padata before replacing it.

ticket: 6885
target_version: 1.9.1
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24724 dc483132-0cff-0310-8789-dd5450dbe970
src/kdc/fast_util.c