forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8bbd0cc
committed
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 LakhinBug: 17847Discussion:https://postgr.es/m/17847-171232970bea406b%40postgresql.orgReviewed-by: Tom Lane, Pavel Borisov, Alexander LakhinBackpatch-through: 131 parentcd115c3 commit8bbd0cc
File tree
4 files changed
+27
-4
lines changed- contrib/ltree
- expected
- sql
- doc/src/sgml
4 files changed
+27
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7835 | 7835 | | |
7836 | 7836 | | |
7837 | 7837 | | |
7838 | | - | |
| 7838 | + | |
7839 | 7839 | | |
7840 | 7840 | | |
7841 | | - | |
| 7841 | + | |
| 7842 | + | |
| 7843 | + | |
| 7844 | + | |
| 7845 | + | |
| 7846 | + | |
7842 | 7847 | | |
7843 | 7848 | | |
7844 | 7849 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
719 | 719 | | |
720 | 720 | | |
721 | 721 | | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
722 | 734 | | |
723 | 735 | | |
724 | 736 | | |
| |||
727 | 739 | | |
728 | 740 | | |
729 | 741 | | |
730 | | - | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
731 | 745 | | |
| 746 | + | |
732 | 747 | | |
733 | 748 | | |
734 | 749 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| 334 | + | |
| 335 | + | |
334 | 336 | | |
335 | 337 | | |
336 | 338 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
640 | | - | |
| 640 | + | |
| 641 | + | |
641 | 642 | | |
642 | 643 | | |
643 | 644 | | |
| |||
0 commit comments
Comments
(0)