Skip Menu |
 

From: ghudson@mit.edu
Subject: SVN Commit

If a get_credentials operation requires multiple TGS requests, we need
to free the subkey from previous requests before saving a new one.

https://github.com/krb5/krb5/commit/29c3b20975d80aa67ee0687d7497c1dd9ed402f5
Commit By: ghudson
Revision: 25536
Changed Files:
U trunk/src/lib/krb5/krb/get_creds.c
This fix is also relevant to 1.9.

The patch will probably not apply cleanly to either the 1.10 or 1.9 branch
because FAST TGS support has changed the context around the insertion
point for the two new lines of code. You'll have to manually put them
before the krb5int_make_tgs_request call.
From: tlyu@mit.edu
Subject: SVN Commit

pull up r25536 from trunk

------------------------------------------------------------------------
r25536 | ghudson | 2011-12-09 12:57:52 -0500 (Fri, 09 Dec 2011) | 8 lines

ticket: 7049
subject: Fix subkey memory leak in krb5_get_credentials
target_version: 1.10
tags: pullup

If a get_credentials operation requires multiple TGS requests, we need
to free the subkey from previous requests before saving a new one.

https://github.com/krb5/krb5/commit/791b71b3a26f9cf4900522ec388c6bb0329e289d
Commit By: tlyu
Revision: 25586
Changed Files:
U branches/krb5-1-10/src/lib/krb5/krb/get_creds.c