Re: fix for palloc() of user-supplied length - Mailing list pgsql-patches

From Neil Conway
Subject Re: fix for palloc() of user-supplied length
Date
Msg-id 87adn7zm70.fsf@mailbox.samurai.com
Whole thread Raw
In response to Re: fix for palloc() of user-supplied length  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: fix for palloc() of user-supplied length  (Serguei Mokhov <mokhov@cs.concordia.ca>)
Re: fix for palloc() of user-supplied length  (Serguei Mokhov <mokhov@cs.concordia.ca>)
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Neil, is this the one Sir-* complained about?

Yes.

I've attached a revised patch that includes the additional check Tom
suggested (len < 1). Unless anyone else steps forward, I'm inclined to
rip out support for version 0 of the protocol -- but I have more
urgent things to do for the beta, so it will likely need to wait for
7.4.

Cheers,

Neil

--
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC

Attachment

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: fix for palloc() of user-supplied length
Next
From: Neil Conway
Date:
Subject: Re: fix for palloc() of user-supplied length