forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit40ddb8d
committed
Fix out-of-bound read in gtsvector_picksplit()
This could lead to an imprecise choice when splitting an index page of aGiST index on a tsvector, deciding which entries should remain on theold page and which entries should move to a new page.This is wrong since tsearch2 has been moved into core with commit140d4eb, so backpatch all the way down. This error has beenspotted by valgrind.Author: Alexander LakhinDiscussion:https://postgr.es/m/17950-6c80a8d2b94ec695@postgresql.orgBackpatch-through: 111 parenta67cf94 commit40ddb8d
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
728 | 728 |
| |
729 | 729 |
| |
730 | 730 |
| |
731 |
| - | |
| 731 | + | |
732 | 732 |
| |
733 | 733 |
| |
734 | 734 |
| |
| |||
740 | 740 |
| |
741 | 741 |
| |
742 | 742 |
| |
743 |
| - | |
| 743 | + | |
744 | 744 |
| |
745 | 745 |
| |
746 | 746 |
| |
|
0 commit comments
Comments
(0)