postgresql/src/backend
Michael Paquier df11421d82 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
140d4ebcb4, 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
2023-09-04 14:55:53 +09:00
..
access Cache by-reference missing values in a long lived context 2023-08-22 15:15:45 -04:00
bootstrap Rethink definition of pg_attribute.attcompression. 2021-05-27 13:24:27 -04:00
catalog Recalculate search_path after ALTER ROLE. 2023-08-07 15:12:33 -07:00
commands Reject substituting extension schemas or owners matching ["$'\]. 2023-08-07 06:06:00 -07:00
executor Fix memory leak in Incremental Sort rescans 2023-07-02 20:05:14 +02:00
foreign Update copyright for 2021 2021-01-02 13:06:25 -05:00
jit Fix leak of LLVM "fatal-on-oom" section counter. 2023-07-05 13:13:35 +03:00
lib Fix lock assertions in dshash.c. 2022-07-11 15:47:12 +12:00
libpq Raise fixed token-length limit in hba.c. 2023-07-27 12:07:48 -04:00
main Fix outdated --help message for postgres -f 2022-08-15 13:37:38 +09:00
nodes Remove inappropriate raw_expression_tree_walker() code 2023-06-29 10:35:53 +02:00
optimizer Don't Memoize lateral joins with volatile join conditions 2023-08-07 22:15:50 +12:00
parser Avoid unnecessary plancache revalidation of utility statements. 2023-08-24 12:02:40 -04:00
partitioning Fix incorrect partition pruning logic for boolean partitioned tables 2023-04-14 16:21:42 +12:00
po Translation updates 2023-08-07 12:38:55 +02:00
port Reject huge_pages=on if shared_memory_type=sysv. 2021-10-26 13:09:00 +13:00
postmaster Initialize ListenSocket array earlier. 2023-08-29 09:12:24 +03:00
regex Avoid character classification in regex escape parsing. 2023-04-21 08:20:32 -07:00
replication Fix ReorderBufferCheckMemoryLimit() comment. 2023-08-02 15:01:05 +09:00
rewrite Fix typo in comment. 2023-06-16 10:19:33 +09:00
snowball In the Snowball dictionary, don't try to stem excessively-long words. 2022-08-31 10:42:05 -04:00
statistics Remove unnecessary code in dependency_is_compatible_expression(). 2023-03-14 11:10:45 -04:00
storage Revert the commits related to allowing page lock to conflict among parallel group members. 2023-07-06 08:15:37 +05:30
tcop Be more rigorous about local variables in PostgresMain(). 2023-07-10 12:14:34 -04:00
tsearch Check for interrupts and stack overflow in TParserGet(). 2023-06-24 17:18:08 -04:00
utils Fix out-of-bound read in gtsvector_picksplit() 2023-09-04 14:55:53 +09:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
Makefile Use sort_template.h for qsort_tuple() and qsort_ssup(). 2021-03-03 17:02:32 +13:00
nls.mk Translation updates 2021-09-20 16:23:13 +02:00