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

From Neil Conway
Subject fix for palloc() of user-supplied length
Date
Msg-id 878z2s0x43.fsf@mailbox.samurai.com
Whole thread Raw
Responses Re: fix for palloc() of user-supplied length  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: fix for palloc() of user-supplied length  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
This patch fixes the so-called DoS possibility when processing the
password packet in recv_and_check_passwordv0(). Nothing fancy, I just
added a sanity check to ensure that we bail out if the client enters
an obviously-bogus length.

Cheers,

Neil

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

Attachment

pgsql-patches by date:

Previous
From: Joe Conway
Date:
Subject: Re: rules regression test fix
Next
From: Tom Lane
Date:
Subject: Re: rules regression test fix