Re: Buffer overflow in psql - Mailing list pgsql-general

From Tom Lane
Subject Re: Buffer overflow in psql
Date
Msg-id 6667.1164245188@sss.pgh.pa.us
Whole thread Raw
In response to Re: Buffer overflow in psql  ("John D. Burger" <john@mitre.org>)
Responses Re: Buffer overflow in psql  ("John D. Burger" <john@mitre.org>)
List pgsql-general
"John D. Burger" <john@mitre.org> writes:
> Tom Lane wrote:
>> Ah so, that explains how come it noticed.  BTW, I see that somebody
>> already changed the array size to 16 bytes in HEAD --- so it's just
>> the back branches that need fixing.

> Um, is that really considered a fix???  We all know that there's no
> guarantee at all, even in ANSI C, that unsigned int isn't bigger than
> 32 bits, right?

OID is 32 bits.  Full stop.

            regards, tom lane

pgsql-general by date:

Previous
From: "John D. Burger"
Date:
Subject: Re: Buffer overflow in psql
Next
From: Richard Broersma Jr
Date:
Subject: 8.2Beta3 - create view testview (a,b,c) values (1,2,3),(4,5,6),...