Commit 1834741
authored
pythongh-143904: Raise OverflowError instead of IndexError for too large offset in struct.pack_into() (pythonGH-143905)
1 parent b625601 commit 1834741
File tree
4 files changed
+42
-25
lines changed- Lib/test
- Misc/NEWS.d/next/Library
- Modules
- clinic
4 files changed
+42
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
481 | | - | |
| 481 | + | |
482 | 482 | | |
483 | | - | |
| 483 | + | |
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2275 | 2275 | | |
2276 | 2276 | | |
2277 | 2277 | | |
2278 | | - | |
| 2278 | + | |
2279 | 2279 | | |
2280 | 2280 | | |
2281 | 2281 | | |
| |||
2289 | 2289 | | |
2290 | 2290 | | |
2291 | 2291 | | |
2292 | | - | |
| 2292 | + | |
2293 | 2293 | | |
2294 | | - | |
| 2294 | + | |
2295 | 2295 | | |
2296 | | - | |
2297 | 2296 | | |
2298 | 2297 | | |
2299 | 2298 | | |
| |||
2304 | 2303 | | |
2305 | 2304 | | |
2306 | 2305 | | |
2307 | | - | |
2308 | | - | |
2309 | | - | |
2310 | | - | |
2311 | | - | |
2312 | | - | |
2313 | 2306 | | |
2314 | 2307 | | |
2315 | 2308 | | |
| |||
2546 | 2539 | | |
2547 | 2540 | | |
2548 | 2541 | | |
2549 | | - | |
| 2542 | + | |
2550 | 2543 | | |
2551 | 2544 | | |
2552 | 2545 | | |
| |||
2560 | 2553 | | |
2561 | 2554 | | |
2562 | 2555 | | |
2563 | | - | |
| 2556 | + | |
2564 | 2557 | | |
2565 | | - | |
| 2558 | + | |
2566 | 2559 | | |
2567 | | - | |
| 2560 | + | |
2568 | 2561 | | |
2569 | 2562 | | |
2570 | 2563 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments