Buffer overuns with the Electric fence debugging library

Поиск
Список
Период
Сортировка
От Maurice Gittens
Тема Buffer overuns with the Electric fence debugging library
Дата
Msg-id 00ad01bd5261$b8d64f40$fcf3b2c2@caleb..gits.nl
обсуждение исходный текст
Ответы Re: [HACKERS] Buffer overuns with the Electric fence debugging library  (Bruce Momjian <maillist@candle.pha.pa.us>)
Re: [HACKERS] Buffer overuns with the Electric fence debugging library  (The Hermit Hacker <scrappy@hub.org>)
Список pgsql-hackers
Hi everybody,

The electricfence library is a tool which helps us to detect
buffer overruns in C programs.

Linking Postgresql with this library gives at least 3 errors I have found
until now.

The errors manifest themselves in sql statements like:
1. create table test(f1 int);
This one allways fails.
2. select * from pg_shadow
Only some tables give errors so the problem seems to be related
to the type/alignment of fields in the tables.

The errors are all found in the DataFill function called from
heap_from_tuple.

I'm using a snapshot version of postgresql downloaded around
the release date 6.3.

This all is on Linux (Redhat 4.0) with Electric Fence version 2.0.5.

Do you guys feel comfortable with a database which has reproducible
buffer overuns?

I think it would be great is somebody who has more experience with
postgresql than I were to look at this.

I am now going to do some work which I actually get paid to do!

With regards from Maurice.



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

Предыдущее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [HACKERS] Re: [QUESTIONS] MySQL benchmark page
Следующее
От: "Pedro J. Lobo"
Дата:
Сообщение: Re: Unix Domain Sockets error (was Re: [HACKERS] Alpha initdb fixed!)