-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Merge v1.4.2 to Master #1700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Merge v1.4.2 to Master #1700
Conversation
This file contains hidden or 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
Compiling with clang-8 fails with the following errors: largeNbDicts.c:562:37: error: implicit conversion turns floating-point number into integer: 'const double' to 'U64' (aka 'unsigned long') [-Werror,-Wfloat-conversion] U64 const dTime_ns = result.nanoSecPerRun; ~~~~~~~~ ~~~~~~~^~~~~~~~~~~~~ zstdcli.c:300:5: error: '@return' command used in a comment that is not attached to a function or method declaration [-Werror,-Wdocumentation] * @return 1 means that cover parameters were correct ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zstdcli.c:301:5: error: '@return' command used in a comment that is not attached to a function or method declaration [-Werror,-Wdocumentation] * @return 0 in case of malformed parameters ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Add Check if Block Size Exceeds Maximum
Restructure the source files
The match length and literal length extra bytes could either by 2 bytes or 3 bytes in version 0.5. All earlier verions were always 3 bytes, and later version didn't have dumps. The bug, introduced by commit 0fd322f, was triggered when the last dump was a 2-byte dump, because we didn't separate that case from a 3-byte dump, and thought we were over-reading. I've tested this fix with every zstd version < 1.0.0 on the buggy file, and we are now always successfully decompressing with the right checksum. Fixes #1693.
[legacy] Fix bug in zstd-0.5 decoder
Fix seekable decompression in-memory api
Adding documentation for --shrink flag
fix compiling errors with clang-8
Bump Library Version Number to 1.4.2
Add New Seekable Compression Example to .gitignore
Cyan4973
approved these changes
Jul 25, 2019
memory leak fix
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
List of Changes