Buffer overrun

Поиск
Список
Период
Сортировка
От Maurice Gittens
Тема Buffer overrun
Дата
Msg-id 00df01bd51d4$5e16a1a0$fcf3b2c2@caleb..gits.nl
обсуждение исходный текст
Список pgsql-hackers
Hi,

Using the ElectringFence debugging library I found what seems to be a
buffer overrun when creating databases. I don't think I understand it all
well enough
(yet?) to fix it however.

Doing a "create database test;" causes the buffer overrun to appear.
Without the debugging library I notice no malfunction.

In the function createdb a call to the function pg_exec_query which
inserts the info about the new database into pg_database eventually
dies in the function DataFill called from heap_formtuple.

I've noticed that the function pg_exec_query appears twice on the
callstack so I guess this function is reentrant right?

I hope this is useful to somebody.

With regards from Maurice.



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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: RE: [HACKERS] First mega-patch...
Следующее
От: Jeroen van Vianen
Дата:
Сообщение: Re: [HACKERS] Some cleanups/enhancements