Commit d0293b0
authored
Merge commit from fork
* Add repro for integer overflow
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
* Always check overflow in new_cap + offset
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
---------
Signed-off-by: Alice Ryhl <aliceryhl@google.com>1 parent a7952fb commit d0293b0
3 files changed
+28
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
698 | 704 | | |
699 | 705 | | |
700 | | - | |
| 706 | + | |
701 | 707 | | |
702 | 708 | | |
703 | 709 | | |
| |||
713 | 719 | | |
714 | 720 | | |
715 | 721 | | |
716 | | - | |
717 | | - | |
718 | 722 | | |
719 | 723 | | |
720 | 724 | | |
721 | 725 | | |
722 | 726 | | |
723 | | - | |
| 727 | + | |
724 | 728 | | |
725 | 729 | | |
726 | 730 | | |
| |||
742 | 746 | | |
743 | 747 | | |
744 | 748 | | |
745 | | - | |
746 | | - | |
| 749 | + | |
| 750 | + | |
747 | 751 | | |
748 | 752 | | |
749 | 753 | | |
750 | | - | |
751 | | - | |
| 754 | + | |
| 755 | + | |
752 | 756 | | |
753 | 757 | | |
754 | 758 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1707 | 1707 | | |
1708 | 1708 | | |
1709 | 1709 | | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
0 commit comments