[24480] in Kerberos
Re: Memory Leak problems with krb5_get_init_creds_password?
daemon@ATHENA.MIT.EDU (Ken Raeburn)
Thu Aug 18 18:21:46 2005
In-Reply-To: <1124401787.076848.326630@o13g2000cwo.googlegroups.com>
Mime-Version: 1.0 (Apple Message framework v734)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <79AC6159-D170-4184-8856-D53DAB206C2F@mit.edu>
Content-Transfer-Encoding: 7bit
From: Ken Raeburn <raeburn@mit.edu>
Date: Thu, 18 Aug 2005 18:20:48 -0400
To: brian.joh@comcast.net
cc: kerberos@mit.edu
Errors-To: kerberos-bounces@mit.edu
On Aug 18, 2005, at 17:49, brian.joh@comcast.net wrote:
> I know you weren't trying to write any production code or
> anything. I was just pointing out, that if the memory leak
> is moved to krb5_init_context(), then the problem is solved
> for realistic cases. And I was just trying to say it wouldn't
> fix the problem in your test program and that your leak
> test would still leak.
We've run into other cases where a krb5_context is needed but other
APIs make it difficult for one to be made available. So there's code
out there that allocates many short-lived krb5_context structures,
often without using them for actual network stuff.
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos