Skip to content

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

2 participants