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
.gitignore
Makefile
_ltree_gist.c
_ltree_op.c
crc32.c
crc32.h
lquery_op.c
ltree--1.0--1.1.sql
ltree--1.1--1.2.sql
ltree--1.1.sql
ltree.control
ltree.h
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
ltreetest.sql
ltxtquery_io.c
ltxtquery_op.c