postgresql/contrib/ltree
Alexander Korotkov 48c6825d0e 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:00:16 +03:00
..
data
expected
sql
_ltree_gist.c
_ltree_op.c
.gitignore
crc32.c
crc32.h
lquery_op.c
ltree_gist.c
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
ltreetest.sql
ltxtquery_io.c
ltxtquery_op.c
Makefile