diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-08-15 19:41:06 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-08-15 19:41:06 +0000 |
commit | ec70ca7954353773cd1de8d0ed719232aa2453ec (patch) | |
tree | 0710afaf6e1fb017ff1303e54fb2f4b0c2a5bb52 /src/backend/access/gist/gist.c | |
parent | 6f0da9545a791f87af382924acc9253805283f9c (diff) | |
download | postgresql-ec70ca7954353773cd1de8d0ed719232aa2453ec.tar.gz postgresql-ec70ca7954353773cd1de8d0ed719232aa2453ec.zip |
array_in() and array_recv() need to be more paranoid about validating
their OID parameter. It was possible to crash the backend with
select array_in('{123}',0,0); because that would bypass the needed step
of initializing the workspace. These seem to be the only two places
with a problem, though (record_in and record_recv don't have the issue,
and the other array functions aren't depending on user-supplied input).
Back-patch as far as 7.4; 7.3 does not have the bug.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions