diff options
author | Michael Paquier <michael@paquier.xyz> | 2023-09-04 14:55:57 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2023-09-04 14:55:57 +0900 |
commit | 40ddb8db9f2c62aed5025aaf503e188f7d1f27af (patch) | |
tree | 856a81742ac02c23fa5e61d033354b295978fab4 /src/backend/access/transam/xlog.c | |
parent | a67cf941151f3fcf35fb3ccf3446644ded89a942 (diff) | |
download | postgresql-40ddb8db9f2c62aed5025aaf503e188f7d1f27af.tar.gz postgresql-40ddb8db9f2c62aed5025aaf503e188f7d1f27af.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/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions