Skip Menu |
 

From: ghudson@mit.edu
Subject: SVN Commit

When kdc_fast_handle_error() produces a FAST-encoded error, it puts it
into err->e_data and it never gets freed (since in the non-FAST case,
err->e_data contains aliased pointers). Fix this by storing the
encoded error in an output variable which is placed into the error's
e_data by the caller and then freed.


https://github.com/krb5/krb5/commit/b5d9f6e92ac9291c6f352a2d86b4b0bf9f74fc1f
Commit By: ghudson
Revision: 24722
Changed Files:
U trunk/src/kdc/do_as_req.c
U trunk/src/kdc/do_tgs_req.c
U trunk/src/kdc/fast_util.c
U trunk/src/kdc/kdc_util.h
From: tlyu@mit.edu
Subject: SVN Commit

pull up r24722 from trunk

------------------------------------------------------------------------
r24722 | ghudson | 2011-03-17 16:02:01 -0400 (Thu, 17 Mar 2011) | 11 lines

ticket: 6884
subject: KDC memory leak in FAST error path
target_version: 1.9.1
tags: pullup

When kdc_fast_handle_error() produces a FAST-encoded error, it puts it
into err->e_data and it never gets freed (since in the non-FAST case,
err->e_data contains aliased pointers). Fix this by storing the
encoded error in an output variable which is placed into the error's
e_data by the caller and then freed.

https://github.com/krb5/krb5/commit/79b3ec305a1cbc6ac2f78a18f44730b15ba5e943
Commit By: tlyu
Revision: 24949
Changed Files:
U branches/krb5-1-9/src/kdc/do_as_req.c
U branches/krb5-1-9/src/kdc/do_tgs_req.c
U branches/krb5-1-9/src/kdc/fast_util.c
U branches/krb5-1-9/src/kdc/kdc_util.h