diff options
author | Melanie Plageman <melanieplageman@gmail.com> | 2024-12-20 09:41:41 -0500 |
---|---|---|
committer | Melanie Plageman <melanieplageman@gmail.com> | 2024-12-20 09:43:44 -0500 |
commit | 94bb6c4410d81ccc019bb60d8aedb73dbc85df76 (patch) | |
tree | 5b713e145c35bc3d094a6ac011b2ceed89f20f15 /src/backend/access/common/attmap.c | |
parent | 38c579b08988e6f1a5bd74241d0a1001421d8015 (diff) | |
download | postgresql-94bb6c4410d81ccc019bb60d8aedb73dbc85df76.tar.gz postgresql-94bb6c4410d81ccc019bb60d8aedb73dbc85df76.zip |
Fix overflow danger in SampleHeapTupleVisible(), take 2
28328ec87b45725 addressed one overflow danger in
SampleHeapTupleVisible() but introduced another, albeit a less likely
one. Modify the binary search code to remove this danger.
Reported-by: Richard Guo
Reviewed-by: Richard Guo, Ranier Vilela
Discussion: https://postgr.es/m/CAMbWs4_bE%2BNscChbKWzw6HZOipCUyXfA5133qvoXQ654D3B2gQ%40mail.gmail.com
Diffstat (limited to 'src/backend/access/common/attmap.c')
0 files changed, 0 insertions, 0 deletions