Fix overflow danger in SampleHeapTupleVisible(), take 2
Melanie Plageman <melanieplageman@gmail.com>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/heap/heapam_handler.c | modified | +5 −11 |
Discussion
- Can rs_cindex be < 0 for bitmap heap scans? 21 messages · 2024-10-23 → 2024-12-20