Commit 021e5db
bpo-36946:Fix possible signed integer overflow when handling slices. (pythonGH-15639)
This is a complement to PR 13375.
(cherry picked from commit 3c87a66)
Co-authored-by: HongWeipeng <[email protected]>1 parent 30933d5 commit 021e5db
4 files changed
Lines changed: 12 additions & 3 deletions
File tree
- Lib/test
- Misc/NEWS.d/next/Core and Builtins
- Modules/_ctypes
- Objects
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
152 | 157 | | |
153 | 158 | | |
154 | 159 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5019 | 5019 | | |
5020 | 5020 | | |
5021 | 5021 | | |
5022 | | - | |
| 5022 | + | |
| 5023 | + | |
5023 | 5024 | | |
5024 | 5025 | | |
5025 | 5026 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2729 | 2729 | | |
2730 | 2730 | | |
2731 | 2731 | | |
2732 | | - | |
| 2732 | + | |
| 2733 | + | |
2733 | 2734 | | |
2734 | 2735 | | |
2735 | 2736 | | |
| |||
2865 | 2866 | | |
2866 | 2867 | | |
2867 | 2868 | | |
2868 | | - | |
| 2869 | + | |
| 2870 | + | |
2869 | 2871 | | |
2870 | 2872 | | |
2871 | 2873 | | |
| |||
0 commit comments