Prevent overrunning a heap-allocated buffer is more than 1024 parameters

Neil Conway <neilc@samurai.com>

Commit: de49759a0e28657db53a1e1c8425ea72632dac95
Author: Neil Conway <neilc@samurai.com>
Date: 2005-01-21T00:17:02Z
Releases: 8.0.1
Prevent overrunning a heap-allocated buffer is 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.

Files

PathChange+/−
src/pl/plpgsql/src/gram.y modified +5 −1