forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0c7d3bb
committed
Add missing array-enlargement logic to test_regex.c.
The stanza to report a "partial" match could overrun the initiallyallocated output array, so it needs its own copy of the array-resizinglogic that's in the main loop. I overlooked the need for this inca8217c.Per report from Alexander Lakhin.Discussion:https://postgr.es/m/3206aace-50db-e02a-bbea-76d5cdaa2cb6@gmail.com1 parentcf621d9 commit0c7d3bb
1 file changed
+14
-0
lines changedLines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
555 | 555 |
| |
556 | 556 |
| |
557 | 557 |
| |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
558 | 570 |
| |
559 | 571 |
| |
560 | 572 |
| |
| |||
566 | 578 |
| |
567 | 579 |
| |
568 | 580 |
| |
| 581 | + | |
| 582 | + | |
569 | 583 |
| |
570 | 584 |
| |
571 | 585 |
| |
|
0 commit comments
Comments
(0)