Re: Buffer overflow in psql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "John D(dot) Burger" <john(at)mitre(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Buffer overflow in psql
Date: 2006-11-23 01:26:28
Message-ID: 6667.1164245188@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"John D. Burger" <john(at)mitre(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Broersma Jr 2006-11-23 02:03:05 8.2Beta3 - create view testview (a,b,c) values (1,2,3),(4,5,6),...
Previous Message snappingturtle 2006-11-23 00:34:02 Dollaw sign quoting disabled