diff options
author | Michael Paquier <michael@paquier.xyz> | 2023-09-04 14:55:53 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2023-09-04 14:55:53 +0900 |
commit | df11421d8242dd13b2b734d7f2ff65aff7619b85 (patch) | |
tree | 82d97b666f26ab9bea7c4dda0aaac25be92bcd70 /src/backend/utils/adt/array_expanded.c | |
parent | b8f4644d60f5ce6c9ff28e9d76ab104818053379 (diff) | |
download | postgresql-df11421d8242dd13b2b734d7f2ff65aff7619b85.tar.gz postgresql-df11421d8242dd13b2b734d7f2ff65aff7619b85.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/utils/adt/array_expanded.c')
0 files changed, 0 insertions, 0 deletions