[36403] in Kerberos
Re: memory leak in krb5_get_init_creds_keytab in 1.10.2 ?
daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon Aug 25 16:10:03 2014
Message-ID: <53FB980C.5070506@mit.edu>
Date: Mon, 25 Aug 2014 16:09:48 -0400
From: Greg Hudson <ghudson@mit.edu>
MIME-Version: 1.0
To: Markus Moeller <huaraz@moeller.plus.com>, kerberos@mit.edu
In-Reply-To: <ltg1d9$tde$1@ger.gmane.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu
On 08/25/2014 03:05 PM, Markus Moeller wrote:
> I call krb5_get_init_creds_keytab in my application and valgrind tells me
> about a leak ( see below ) . It seems to be the memory allocation for
> mod-modreq_p, which I think I can't clear from my application, can I ?
I believe this is issue #7793:
http://krbdev.mit.edu/rt/Ticket/Display.html?id=7793
which is fixed in 1.12.2. In that issue, the per-request preauth
context is only leaked when krb5_get_init_creds_keytab fails. If you're
seeing a memory leak when it succeeds, further investigation might be
needed.
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos