postgresql/contrib/ltree
Alexander Korotkov 214495dc5b Validate ltree siglen GiST option to be int-aligned
Unaligned siglen could lead to an unaligned access to subsequent key fields.

Backpatch to 13, where opclass options were introduced.

Reported-by: Alexander Lakhin
Bug: 17847
Discussion: https://postgr.es/m/17847-171232970bea406b%40postgresql.org
Reviewed-by: Tom Lane, Pavel Borisov, Alexander Lakhin
Backpatch-through: 13
2023-04-23 14:30:51 +03:00
..
data
expected Validate ltree siglen GiST option to be int-aligned 2023-04-23 14:30:51 +03:00
sql Validate ltree siglen GiST option to be int-aligned 2023-04-23 14:30:51 +03:00
_ltree_gist.c
_ltree_op.c
.gitignore
crc32.c
crc32.h
lquery_op.c
ltree_gist.c Validate ltree siglen GiST option to be int-aligned 2023-04-23 14:30:51 +03:00
ltree_io.c
ltree_op.c
ltree--1.0--1.1.sql
ltree--1.1--1.2.sql
ltree--1.1.sql
ltree.control
ltree.h Fix various typos and spelling mistakes in code comments 2022-04-11 20:49:41 +12:00
ltreetest.sql
ltxtquery_io.c Remove extraneous blank lines before block-closing braces 2022-04-13 19:16:02 +02:00
ltxtquery_op.c
Makefile