pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Validate ltree siglen GiST option to be int-aligned 4+ messages / 1 participants [nested] [flat]
* pgsql: Validate ltree siglen GiST option to be int-aligned @ 2023-04-23 11:30 Alexander Korotkov <akorotkov@postgresql.org> 0 siblings, 0 replies; 4+ messages in thread From: Alexander Korotkov @ 2023-04-23 11:30 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/8bbd0cce92be98de9f4f727b8bf66fe26e5831ea Modified Files -------------- contrib/ltree/expected/ltree.out | 9 +++++++-- contrib/ltree/ltree_gist.c | 17 ++++++++++++++++- contrib/ltree/sql/ltree.sql | 2 ++ doc/src/sgml/ltree.sgml | 3 ++- 4 files changed, 27 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Validate ltree siglen GiST option to be int-aligned @ 2023-04-23 11:31 Alexander Korotkov <akorotkov@postgresql.org> 0 siblings, 0 replies; 4+ messages in thread From: Alexander Korotkov @ 2023-04-23 11:31 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/214495dc5b712552d3938d5f03acddfedc8a81ca Modified Files -------------- contrib/ltree/expected/ltree.out | 9 +++++++-- contrib/ltree/ltree_gist.c | 17 ++++++++++++++++- contrib/ltree/sql/ltree.sql | 2 ++ doc/src/sgml/ltree.sgml | 3 ++- 4 files changed, 27 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Validate ltree siglen GiST option to be int-aligned @ 2023-04-23 11:31 Alexander Korotkov <akorotkov@postgresql.org> 0 siblings, 0 replies; 4+ messages in thread From: Alexander Korotkov @ 2023-04-23 11:31 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/f4a4a18ecbdb74da70679c7bcaa395f66b68c4af Modified Files -------------- contrib/ltree/expected/ltree.out | 9 +++++++-- contrib/ltree/ltree_gist.c | 17 ++++++++++++++++- contrib/ltree/sql/ltree.sql | 2 ++ doc/src/sgml/ltree.sgml | 3 ++- 4 files changed, 27 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Validate ltree siglen GiST option to be int-aligned @ 2023-04-23 11:31 Alexander Korotkov <akorotkov@postgresql.org> 0 siblings, 0 replies; 4+ messages in thread From: Alexander Korotkov @ 2023-04-23 11:31 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/48c6825d0ec8a5021e95aea666944e9345ceb77d Modified Files -------------- contrib/ltree/expected/ltree.out | 9 +++++++-- contrib/ltree/ltree_gist.c | 17 ++++++++++++++++- contrib/ltree/sql/ltree.sql | 2 ++ doc/src/sgml/ltree.sgml | 3 ++- 4 files changed, 27 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2023-04-23 11:31 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2023-04-23 11:30 pgsql: Validate ltree siglen GiST option to be int-aligned Alexander Korotkov <akorotkov@postgresql.org> 2023-04-23 11:31 pgsql: Validate ltree siglen GiST option to be int-aligned Alexander Korotkov <akorotkov@postgresql.org> 2023-04-23 11:31 pgsql: Validate ltree siglen GiST option to be int-aligned Alexander Korotkov <akorotkov@postgresql.org> 2023-04-23 11:31 pgsql: Validate ltree siglen GiST option to be int-aligned Alexander Korotkov <akorotkov@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox