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: Reject empty compressed blocks #862

Merged
merged 2 commits into from
Sep 18, 2023
Merged

Conversation

klauspost
Copy link
Owner

Matches zstandard behaviour - those blocks shouldn't happen in the wild anyway.

@klauspost klauspost merged commit 6125c11 into master Sep 18, 2023
18 checks passed
@klauspost klauspost deleted the zstd-reject-empty-compressed branch September 18, 2023 17:01
klauspost added a commit that referenced this pull request Sep 25, 2023
#862 (unreleased) only rejected in-memory encodes - reject for streams as well.

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62528
klauspost added a commit that referenced this pull request Sep 25, 2023
This reverts commit 6125c11.

This was unintended and is fixed on last zstd version.
klauspost added a commit that referenced this pull request Sep 25, 2023
This reverts commit 6125c11.

This was unintended and is fixed on last zstd version.
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.

None yet

1 participant