Re: PostgreSQL 7.3.3 with pgcrypto on FreeBSD 5.1

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PostgreSQL 7.3.3 with pgcrypto on FreeBSD 5.1
Дата
Msg-id 5867.1059959558@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PostgreSQL 7.3.3 with pgcrypto on FreeBSD 5.1  (Sean Chittenden <sean@chittenden.org>)
Список pgsql-bugs
Sean Chittenden <sean@chittenden.org> writes:
> My bet is Pg is smashing OpenSSL's stack when
> passing more than 2 chars as a salt.

I looked at the code a little bit and that doesn't seem to be the case.

On my machine the core dump seems to be because EVP_DigestUpdate is
called with a EVP_MD_CTX that's all zeroes.  So I think the previous
theory about not having tracked an API change is on target after all.

Personally, I'm punting this problem in Marko's direction --- I won't
take responsibility for fixing contrib code that isn't even compiled
by default.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Sean Chittenden
Дата:
Сообщение: Re: PostgreSQL 7.3.3 with pgcrypto on FreeBSD 5.1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Using contrib/fulltext on multiple tables.