Commit 63b45ca
committed
[3.13] pythongh-142557: fix UAF in
(cherry picked from commit 61ee048)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>bytearray.__mod__ when object is mutated while formatting %-style arguments (pythonGH-143213)1 parent b3a0d15 commit 63b45ca
3 files changed
Lines changed: 24 additions & 1 deletion
File tree
- Lib/test
- Misc/NEWS.d/next/Core and Builtins
- Objects
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1349 | 1349 | | |
1350 | 1350 | | |
1351 | 1351 | | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
1352 | 1364 | | |
1353 | 1365 | | |
1354 | 1366 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2401 | 2401 | | |
2402 | 2402 | | |
2403 | 2403 | | |
2404 | | - | |
| 2404 | + | |
| 2405 | + | |
| 2406 | + | |
| 2407 | + | |
| 2408 | + | |
| 2409 | + | |
| 2410 | + | |
| 2411 | + | |
| 2412 | + | |
2405 | 2413 | | |
2406 | 2414 | | |
2407 | 2415 | | |
| |||
0 commit comments