diff options
author | Tom Lane | 2022-03-04 01:03:47 +0000 |
---|---|---|
committer | Tom Lane | 2022-03-04 01:04:35 +0000 |
commit | f7ea240aa7491b6ed2985bb50888bd432f3341df (patch) | |
tree | 87d14901c88ddb3457c63af8264579e50b5f1188 /src/backend/tcop/postgres.c | |
parent | b3c8aae00850384b1cec5311eb1864e2f5e80a44 (diff) |
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/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions