forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf4a4a18
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 parent9ef5a35 commitf4a4a18
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 | |
|---|---|---|---|
| |||
7821 | 7821 | | |
7822 | 7822 | | |
7823 | 7823 | | |
7824 | | - | |
| 7824 | + | |
7825 | 7825 | | |
7826 | 7826 | | |
7827 | | - | |
| 7827 | + | |
| 7828 | + | |
| 7829 | + | |
| 7830 | + | |
| 7831 | + | |
| 7832 | + | |
7828 | 7833 | | |
7829 | 7834 | | |
7830 | 7835 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
716 | 716 | | |
717 | 717 | | |
718 | 718 | | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
719 | 731 | | |
720 | 732 | | |
721 | 733 | | |
| |||
724 | 736 | | |
725 | 737 | | |
726 | 738 | | |
727 | | - | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
728 | 742 | | |
| 743 | + | |
729 | 744 | | |
730 | 745 | | |
731 | 746 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| 328 | + | |
| 329 | + | |
328 | 330 | | |
329 | 331 | | |
330 | 332 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
639 | | - | |
| 639 | + | |
| 640 | + | |
640 | 641 | | |
641 | 642 | | |
642 | 643 | | |
| |||
0 commit comments
Comments
(0)