Repository navigation
Commit d23d925
Return the full input length from Zlib::ZStream#avail_in
The int cast turned a remainder longer than INT_MAX into a wrong or negative number.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent d698ea0 commit d23d925
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
1536 | 1537 | | |
1537 | 1538 | | |
1538 | 1539 | | |
1539 | | - | |
| 1540 | + | |
1540 | 1541 | | |
1541 | 1542 | | |
1542 | 1543 | | |
| |||
0 commit comments