diff options
author | Alexander Korotkov <akorotkov@postgresql.org> | 2023-04-23 13:58:25 +0300 |
---|---|---|
committer | Alexander Korotkov <akorotkov@postgresql.org> | 2023-04-23 14:00:16 +0300 |
commit | 48c6825d0ec8a5021e95aea666944e9345ceb77d (patch) | |
tree | a83660291627660d7172605b9aaa02a47529475d /src/backend/access/gist/gistget.c | |
parent | 02191136cb25670dc9f086248f7b495d68c965d5 (diff) | |
download | postgresql-48c6825d0ec8a5021e95aea666944e9345ceb77d.tar.gz postgresql-48c6825d0ec8a5021e95aea666944e9345ceb77d.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/gistget.c')
0 files changed, 0 insertions, 0 deletions