-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop to subtract from total_in in nx_inflate()
Partially fix issue #181 by stopping to subtract from total_in in nx_inflate(). total_in and total_out should always increase or be left unchanged during deflate/inflate calls. Also add tests to validate the values of: - avail_in - avail_out - next_in - next_out - total_in - total_out Signed-off-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
- Loading branch information
Showing
2 changed files
with
56 additions
and
2 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