Re: libpq crash fix [was: Provide a way to not ask for a password in psql]

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: libpq crash fix [was: Provide a way to not ask for a password in psql]
Дата
Msg-id 20071009150449.GS3093@svr2.hagander.net
обсуждение исходный текст
Ответ на libpq crash fix [was: Provide a way to not ask for a password in psql]  (Martin Pitt <martin@piware.de>)
Список pgsql-bugs
On Tue, Oct 09, 2007 at 04:32:02PM +0200, Martin Pitt wrote:
> Hi again,
>
> Martin Pitt [2007-10-09 15:56 +0200]:
> > (2) PGPASSFILE=/dev/null psql -l
> >
> >    With /dev/null I get a segfault (I'll probably send a patch for
> >    that later).
>
> Ah, it tried to free(pgpassfile) in PasswordFromFile(), but that is a
> local stack variable.
>
> Can you please apply this upstream?

Applied back to 8.1 which is where it appeared.

//Magnus

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

Предыдущее
От: Martin Pitt
Дата:
Сообщение: libpq crash fix [was: Provide a way to not ask for a password in psql]
Следующее
От: "blay bloo"
Дата:
Сообщение: plpythonu execute - create function bug?