-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug with RANS_ORDER_STRIPE on large blocks.
The meta-data is 2 bytes for order + N, ? bytes for original size, and ?*N bytes for the N compressed sizes. We forgot about the original size so only left room for 2+5*N (with 5 being the maximum size of a 32-bit var int). So blocks larger than 2^28 risked not fitting in the allocated meta-data size. Reported by Divon Lan.
- Loading branch information
1 parent
3891cb6
commit 3ef17f6
Showing
3 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters