aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-08-15 19:40:43 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-08-15 19:40:43 +0000
commitab648632eb4d3d36c012350f9c5643deb4736791 (patch)
tree39c0d14d59e4e3ee98ec19fe2fa690f95585baba /src/backend/access/gist/gistget.c
parent497f11845c2f7d4843b5e77d8c774580d1eb5c38 (diff)
downloadpostgresql-ab648632eb4d3d36c012350f9c5643deb4736791.tar.gz
postgresql-ab648632eb4d3d36c012350f9c5643deb4736791.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/gistget.c')
0 files changed, 0 insertions, 0 deletions