Re: BUG #2260: PGCrypto Memory Problem

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: BUG #2260: PGCrypto Memory Problem
Дата
Msg-id 20060215191437.GA85336@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: BUG #2260: PGCrypto Memory Problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #2260: PGCrypto Memory Problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: BUG #2260: PGCrypto Memory Problem  (Daniel Blaisdell <lunk.djedi@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #2260: PGCrypto Memory Problem
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #2170: --rpath option is skipping shared libs