Re: BUG #4625: ECPG: Memory allocation for binary data is wrong

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: BUG #4625: ECPG: Memory allocation for binary data is wrong
Дата
Msg-id 20090202161722.GA8327@feivel.credativ.lan
обсуждение исходный текст
Ответ на BUG #4625: ECPG: Memory allocation for binary data is wrong  ("Tomislav Bodor" <tbodor@yahoo.com>)
Список pgsql-bugs
> When using binary cursor to fetch contents of a bytea column into a variable
> set to NULL, the memory allocation relies on strlen to determine the amount
> of memory to allocate. If the data contains zeros, the memory allocated is
> too little to store the data.

And one more thank you for reporting.

Fixed in CVS HEAD.

Michael

--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!

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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: *****SPAM***** BUG #4623: %s pattern broken in PGTYPEStimestamp_defmt_asc
Следующее
От: "Robert Walker"
Дата:
Сообщение: BUG #4635: postgres.exe crash when RAISE NOTICE during debugging of PL/pgSQL function in PgAdminIII