pgsql: Prevent overrunning a heap-allocated buffer if more than 1024

From: neilc(at)svr1(dot)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Prevent overrunning a heap-allocated buffer if more than 1024
Date: 2005-01-21 00:31:39
Message-ID: 20050121003139.992933A496B@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Prevent overrunning a heap-allocated buffer if more than 1024 parameters
to a refcursor declaration are specified. This is a minimally-invasive fix
for the buffer overrun -- a more thorough cleanup will be checked into
HEAD.

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
pgsql/src/pl/plpgsql/src:
gram.y (r1.48 -> r1.48.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/gram.y.diff?r1=1.48&r2=1.48.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message User Dpage 2005-01-21 11:40:26 pginstaller - web: Add download and hotfix links.
Previous Message Neil Conway 2005-01-21 00:17:36 pgsql: Prevent overrunning a heap-allocated buffer is more than 1024