forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1cee06a
committed
Fix potential access-off-the-end-of-memory in varbit_out(): it fetched the
byte after the last full byte of the bit array, regardless of whether thatbyte was part of the valid data or not. Found by buildfarm testing.Thanks to Stefan Kaltenbrunner for nailing down the cause.1 parent25a4a77 commit1cee06a
1 file changed
+11
-6
lines changedLines changed: 11 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| |||
537 | 537 |
| |
538 | 538 |
| |
539 | 539 |
| |
540 |
| - | |
| 540 | + | |
541 | 541 |
| |
| 542 | + | |
542 | 543 |
| |
543 | 544 |
| |
544 | 545 |
| |
545 | 546 |
| |
546 | 547 |
| |
547 | 548 |
| |
548 | 549 |
| |
549 |
| - | |
550 |
| - | |
| 550 | + | |
551 | 551 |
| |
552 |
| - | |
553 |
| - | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
554 | 559 |
| |
555 | 560 |
| |
556 | 561 |
| |
|
0 commit comments
Comments
(0)