Skip to content
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

zstd: Handle zero sized frame content size stricter #521

Merged
merged 1 commit into from
Mar 9, 2022

Conversation

klauspost
Copy link
Owner

0 was used for "unknown". Instead use max uint64 so fcs == 0 is properly respected.

Conforms to reference decoder.

`0` was used for "unknown". Instead use max uint64 so fcs == 0 is properly respected.

Conforms to reference decoder.
@klauspost klauspost changed the title zstd: Handle zero sized frame content size correctly zstd: Handle zero sized frame content size stricter Mar 9, 2022
@klauspost klauspost merged commit 96d0db7 into master Mar 9, 2022
@klauspost klauspost deleted the zstd-zero-fcs branch March 9, 2022 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant