Prevent overrunning a heap-allocated buffer if more than 1024 parameters
authorNeil Conway <[email protected]>
Fri, 21 Jan 2005 00:31:21 +0000 (00:31 +0000)
committerNeil Conway <[email protected]>
Fri, 21 Jan 2005 00:31:21 +0000 (00:31 +0000)
commit1ce3543553ff9c1b0afd41e7be819b2ed41ada22
tree811daf2056f338f94eed2baf5c8f6fe848fbe654
parent8f60262044a1c0ca31afb68858ac226e279ae8a9
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.
src/pl/plpgsql/src/gram.y