Re: BUG #2260: PGCrypto Memory Problem - Mailing list pgsql-bugs

From Michael Fuhr
Subject Re: BUG #2260: PGCrypto Memory Problem
Date
Msg-id 20060215191437.GA85336@winnie.fuhr.org
Whole thread Raw
In response to Re: BUG #2260: PGCrypto Memory Problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #2260: PGCrypto Memory Problem
Re: BUG #2260: PGCrypto Memory Problem
List pgsql-bugs
On Wed, Feb 15, 2006 at 01:43:18PM -0500, Tom Lane wrote:
> Michael Fuhr <mike@fuhr.org> writes:
> > I can reproduce this in 8.1.3 on FreeBSD 6.0 and Solaris 9.  Here's
> > a standalone test case:
>
> > SELECT crypt(x::text, '$1$salt') FROM generate_series(1, 500) AS g(x);
>
> Interesting, because I see no leak with this example on Fedora 4 or
> HPUX.  Platform dependency is sounding more and more likely.

Did you test OpenSSL builds?  Both of my systems are built with
OpenSSL and that causes pgcrypto to use different code in some
places (e.g., px_find_digest() in internal.c and openssl.c).  I'll
build and test a non-OpenSSL version when I get a chance.

--
Michael Fuhr

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #2260: PGCrypto Memory Problem
Next
From: Tom Lane
Date:
Subject: Re: BUG #2170: --rpath option is skipping shared libs