Commit d7c445d
ass_subscript_slice() returned early when the computed slice length
was zero, bypassing validation performed for non-empty slices.
(cherry picked from commit fc9c4db)
Co-authored-by: Jiseok CHOI <jiseok.dev@gmail.com>
1 parent d7beb9c commit d7c445d
3 files changed
Lines changed: 25 additions & 6 deletions
File tree
- Lib/test/test_sqlite3
- Misc/NEWS.d/next/Library
- Modules/_sqlite
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1431 | 1431 | | |
1432 | 1432 | | |
1433 | 1433 | | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
1434 | 1446 | | |
1435 | 1447 | | |
1436 | 1448 | | |
| |||
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 | |
|---|---|---|---|
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | 520 | | |
525 | 521 | | |
526 | 522 | | |
527 | 523 | | |
528 | 524 | | |
529 | | - | |
530 | 525 | | |
531 | 526 | | |
532 | 527 | | |
| 528 | + | |
| 529 | + | |
533 | 530 | | |
534 | | - | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
535 | 539 | | |
536 | 540 | | |
537 | 541 | | |
| |||
0 commit comments