[krbdev.mit.edu #2862] Memory leak in krb5-libs up to 1.3.6

Bojan Smojver via RT rt-comment at krbdev.mit.edu
Wed Jan 12 04:30:52 EST 2005


On Tue, 2005-01-11 at 14:24 -0500, Tom Yu via RT wrote:
> >>>>> "Bojan" == Bojan Smojver via RT <rt-comment at krbdev.mit.edu> writes:
> 
> Bojan> So, it this is all thread-safe related, which means that 1.4 is
> Bojan> the right fix. The memory still leaks though, which would be
> Bojan> nice if it were fixed in 1.3.x.
> 
> I took a closer look at
> postgresql-7.4.5/src/interfaces/libpq/fe-auth.c and discovered that a
> lot of krb5 state is kept as file-scope static variables.  The problem
> is therefore mostly postgresql's fault, since it looks like libpq
> itself isn't thread-safe.

OK. I'll simply mention thread-safety issues in the documentation of my
software for now.

I'm guessing 1.4 is the way to go for memory leaks as well. So, all I
need to do is convince Fedora folks to jump on the 1.4 bandwagon, which
shouldn't be difficult if it's backwards compatible with 1.3 series.

-- 
Bojan




More information about the krb5-bugs mailing list