Re: oid2name core dump

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: oid2name core dump
Дата
Msg-id 1101967882.22124.206.camel@localhost.localdomain
обсуждение исходный текст
Ответ на oid2name core dump  (Michael Fuhr <mike@fuhr.org>)
Ответы Re: oid2name core dump  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Список pgsql-bugs
On Wed, 2004-12-01 at 21:41 -0700, Michael Fuhr wrote:
> % oid2name -d test -f 173181
> From database "test":
> oid2name in free(): warning: junk pointer, too low to make sense
> oid2name in free(): warning: junk pointer, too low to make sense
>   Filenode  Table Name
> ----------------------
>     173181         foo

I checked in a fix for this to HEAD; the patch is attached. I also
noticed various other brokenness in oid2name (access to uninitialized
variables, malloc() + sscanf() rather than strdup(), etc.), which I
fixed.

Thanks for the report.

-Neil


Вложения

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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: BUG #1319: Windows LIB file libecpg.lib not in build or package
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: oid2name core dump