pull up r24724 from trunk
authorTom Yu <tlyu@mit.edu>
Thu, 9 Jun 2011 21:08:38 +0000 (21:08 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 9 Jun 2011 21:08:38 +0000 (21:08 +0000)
commit9537c8bd24c28fc102f26f337d5a816f16d58ba5
treec238926df07e66f0fcb3ec679e83a913031ef073
parent79b3ec305a1cbc6ac2f78a18f44730b15ba5e943
pull up r24724 from trunk

 ------------------------------------------------------------------------
 r24724 | ghudson | 2011-03-17 18:10:44 -0400 (Thu, 17 Mar 2011) | 9 lines

 ticket: 6885
 subject: KDC memory leak of reply padata for FAST replies
 target_version: 1.9.1
 tags: pullup

 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
version_fixed: 1.9.2
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-9@24950 dc483132-0cff-0310-8789-dd5450dbe970
src/kdc/fast_util.c