Re: [HACKERS] Buffer overuns with the Electric fence debugging library

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: mgittens(at)gits(dot)nl (Maurice Gittens)
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Buffer overuns with the Electric fence debugging library
Date: 1998-03-18 15:46:48
Message-ID: 199803181546.KAA13109@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.
>
>
>
>

Can you send us the lines that cause the problem? I will look at them.
I have electric fence here on BSDI, but it really takes some time to
run.

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Maurice Gittens 1998-03-18 15:50:32 Re: Buffer overruns with the Electric Fence debugging library
Previous Message Darren King 1998-03-18 15:39:51 Re: [HACKERS] Buffer overuns with the Electric fence debugging library