-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix stream decompression corner case failure
Motivation ---------- In cases where the stream decompression block read hits with a start point within the middle of a tag but then the literal is longer than the entire block available we are incorrectly handling the _lookbackPosition when we return. Modifications ------------- Refactor the handling to be a bit less confusing and correct the result. Add a test for the failure case. Fixes #88
- Loading branch information
1 parent
4769e23
commit 16eca01
Showing
4 changed files
with
71 additions
and
11 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
Large diffs are not rendered by default.
Oops, something went wrong.
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