aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvalidate.c
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2023-04-23 13:58:25 +0300
committerAlexander Korotkov <akorotkov@postgresql.org>2023-04-23 14:31:11 +0300
commitf4a4a18ecbdb74da70679c7bcaa395f66b68c4af (patch)
tree1148a9344f4be60ad83ac9b3c5bfda236a21d757 /src/backend/access/gist/gistvalidate.c
parent9ef5a358378423a1208bee73b9cb3381f27cd3c2 (diff)
downloadpostgresql-f4a4a18ecbdb74da70679c7bcaa395f66b68c4af.tar.gz
postgresql-f4a4a18ecbdb74da70679c7bcaa395f66b68c4af.zip
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
Diffstat (limited to 'src/backend/access/gist/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions