forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit94bb6c4
committed
Fix overflow danger in SampleHeapTupleVisible(), take 2
28328ec addressed one overflow danger inSampleHeapTupleVisible() but introduced another, albeit a less likelyone. Modify the binary search code to remove this danger.Reported-by: Richard GuoReviewed-by: Richard Guo, Ranier VilelaDiscussion:https://postgr.es/m/CAMbWs4_bE%2BNscChbKWzw6HZOipCUyXfA5133qvoXQ654D3B2gQ%40mail.gmail.com1 parent38c579b commit94bb6c4
1 file changed
+5
-11
lines changedLines changed: 5 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2574 | 2574 |
| |
2575 | 2575 |
| |
2576 | 2576 |
| |
2577 |
| - | |
2578 |
| - | |
2579 |
| - | |
2580 |
| - | |
2581 |
| - | |
| 2577 | + | |
| 2578 | + | |
2582 | 2579 |
| |
2583 | 2580 |
| |
2584 | 2581 |
| |
| |||
2589 | 2586 |
| |
2590 | 2587 |
| |
2591 | 2588 |
| |
2592 |
| - | |
2593 |
| - | |
2594 |
| - | |
2595 |
| - | |
| 2589 | + | |
2596 | 2590 |
| |
2597 |
| - | |
| 2591 | + | |
2598 | 2592 |
| |
2599 | 2593 |
| |
2600 | 2594 |
| |
2601 | 2595 |
| |
2602 | 2596 |
| |
2603 |
| - | |
| 2597 | + | |
2604 | 2598 |
| |
2605 | 2599 |
| |
2606 | 2600 |
| |
|
0 commit comments
Comments
(0)