diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-03-03 20:03:47 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-03-03 20:04:35 -0500 |
commit | f7ea240aa7491b6ed2985bb50888bd432f3341df (patch) | |
tree | 87d14901c88ddb3457c63af8264579e50b5f1188 /src/backend/executor/functions.c | |
parent | b3c8aae00850384b1cec5311eb1864e2f5e80a44 (diff) | |
download | postgresql-f7ea240aa7491b6ed2985bb50888bd432f3341df.tar.gz postgresql-f7ea240aa7491b6ed2985bb50888bd432f3341df.zip |
Tighten overflow checks in tidin().
This code seems to have been written on the assumption that
"unsigned long" is 32 bits; or at any rate it ignored the
possibility of conversion overflow. Rewrite, borrowing some
logic from oidin().
Discussion: https://postgr.es/m/3441768.1646343914@sss.pgh.pa.us
Diffstat (limited to 'src/backend/executor/functions.c')
0 files changed, 0 insertions, 0 deletions