diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-08-15 19:40:20 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-08-15 19:40:20 +0000 |
commit | 866ffc2fe35f63b06fb6ed63ef1f531a741d920e (patch) | |
tree | 6bbad0cd2b6cb84f6c2a7112bb6562bd6f896e49 /src/bin/scripts/createlang.c | |
parent | e6a30121be93c7d66e704d0b449e124c0fdd0127 (diff) | |
download | postgresql-866ffc2fe35f63b06fb6ed63ef1f531a741d920e.tar.gz postgresql-866ffc2fe35f63b06fb6ed63ef1f531a741d920e.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/bin/scripts/createlang.c')
0 files changed, 0 insertions, 0 deletions