Skip to content

Comments

deflate.zig: fix bits_left overflow at EndOfStream and @intCast truncation with empty Huffman table#9849

Merged
andrewrk merged 1 commit intoziglang:masterfrom
mattbork:fix-9842
Sep 28, 2021
Merged

deflate.zig: fix bits_left overflow at EndOfStream and @intCast truncation with empty Huffman table#9849
andrewrk merged 1 commit intoziglang:masterfrom
mattbork:fix-9842

Conversation

@mattbork
Copy link
Contributor

@mattbork mattbork commented Sep 27, 2021

Fixes #9842. I closed the other PR and can't reopen it because I squashed the commits. I was mistaken that the changes there didn't fix the test cases found with fuzzing. They do. I am not sure why the build was failing on Linux.

@andrewrk andrewrk merged commit 1e805df into ziglang:master Sep 28, 2021
@andrewrk
Copy link
Member

Thank you!

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.

deflate.InflateStream bits_left unsafety

2 participants