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

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

From
neilc@svr1.postgresql.org (Neil Conway)
Date:
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)