Commit 1b1c5f1
Fix an overflow with freq=4096 in the SSE4 decoder.
Specifically, the SIMD decoder handles this case, but the tidyup code
at the end for any remainder of < 32 bytes to go didn't.
Triggered by the follow example:
perl -e 'print "\0"x0xff0,"AAABAA\0"'|./tests/rans4x16pr -t -o5 -c 0x02011 parent 45cb667 commit 1b1c5f1
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1414 | 1414 | | |
1415 | 1415 | | |
1416 | 1416 | | |
1417 | | - | |
1418 | | - | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
1419 | 1421 | | |
1420 | 1422 | | |
1421 | 1423 | | |
| |||
0 commit comments