Skip Menu |
 

From: ghudson@mit.edu
Subject: SVN Commit

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.


https://github.com/krb5/krb5/commit/05bccaa5a0d4eba3845fb26a0914ffe891f154ca
Commit By: ghudson
Revision: 24724
Changed Files:
U trunk/src/kdc/fast_util.c
From: tlyu@mit.edu
Subject: SVN Commit

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.

https://github.com/krb5/krb5/commit/9537c8bd24c28fc102f26f337d5a816f16d58ba5
Commit By: tlyu
Revision: 24950
Changed Files:
U branches/krb5-1-9/src/kdc/fast_util.c