Re: libpq does not manage SSL callbacks properly when other libraries are involved.

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: libpq does not manage SSL callbacks properly when other libraries are involved.
Дата
Msg-id 20080901132651.GA3776@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: libpq does not manage SSL callbacks properly when other libraries are involved.  (Russell Smith <mr-russ@pws.com.au>)
Список pgsql-bugs
Russell Smith wrote:
> Alvaro Herrera wrote:
> > PoolSnoopy wrote:
> >
> >> this bug is really some annoyance if you use automatic build environments.
> >> I'm using phpunit to run tests and as soon as postgres is involved the php
> >> cli environment segfaults at the end. this can be worked around by disabling
> >> ssl but it would be great if the underlying bug got fixed.
> >>
> >
> > This is PHP's bug, isn't it?  Why are you complaining here
> No, this is a problem with the callback/exit functions used by
> PostgreSQL.  We setup callback functions when we use SSL, if somebody
> else uses SSL we can create a problem.

Ok, so it seems you're correct; there is more evidence to be found by
searching other projects' mailing lists, for example as a starting point
http://markmail.org/search/?q=+CRYPTO_set_locking_callback%28NULL%29

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: "Oleg Serov"
Дата:
Сообщение: Bug in RETURN QUERY
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: Bug in RETURN QUERY