Commit be1aa18
committed
gh-150449: Add tests for extreme step values in sqlite3.Blob slice operations
Add test cases for sys.maxsize and -sys.maxsize-1 step values in both
read (test_blob_get_slice_with_negative_step) and write
(test_blob_set_slice_with_negative_step) to cover the unsigned wrap-around
arithmetic path that avoids signed integer overflow.1 parent d47abf8 commit be1aa18
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1399 | 1399 | | |
1400 | 1400 | | |
1401 | 1401 | | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
1402 | 1405 | | |
1403 | 1406 | | |
1404 | 1407 | | |
| |||
1449 | 1452 | | |
1450 | 1453 | | |
1451 | 1454 | | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
1452 | 1459 | | |
1453 | 1460 | | |
1454 | 1461 | | |
| |||
0 commit comments