aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuildbuffers.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-09-04 14:55:49 +0900
committerMichael Paquier <michael@paquier.xyz>2023-09-04 14:55:49 +0900
commitfac3fa0d5b21ce59258a691b88e4176a06722bfc (patch)
tree5779bcdf8f363a6800d7caec8bd283cb1e7266d7 /src/backend/access/gist/gistbuildbuffers.c
parentc397c98ae63d57c35766dbefe4ea34a5162abf53 (diff)
downloadpostgresql-fac3fa0d5b21ce59258a691b88e4176a06722bfc.tar.gz
postgresql-fac3fa0d5b21ce59258a691b88e4176a06722bfc.zip
Fix out-of-bound read in gtsvector_picksplit()
This could lead to an imprecise choice when splitting an index page of a GiST index on a tsvector, deciding which entries should remain on the old page and which entries should move to a new page. This is wrong since tsearch2 has been moved into core with commit 140d4ebcb46e, so backpatch all the way down. This error has been spotted by valgrind. Author: Alexander Lakhin Discussion: https://postgr.es/m/17950-6c80a8d2b94ec695@postgresql.org Backpatch-through: 11
Diffstat (limited to 'src/backend/access/gist/gistbuildbuffers.c')
0 files changed, 0 insertions, 0 deletions