We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
To reproduce, run the following program (with miniz_oxide 0.3.6):
miniz_oxide 0.3.6
fn main() { miniz_oxide::deflate::compress_to_vec(&[], 6); }
Expected result: it should terminate instantly. Actual result: it does not terminate.
Same for
fn main() { miniz_oxide::deflate::compress_to_vec(&[0], 6); }
The text was updated successfully, but these errors were encountered:
Ah somehow missed this issue being posted, will look into it.
Sorry, something went wrong.
8577636
fix(deflate): compress_to_vec infinite loop
f3299c8
Fixed bug causing an infinite loop when compress_to_vec was called with empty or 1-length input. Closes #75
Hey I just also hit this bug. Can we get a minor patch release to the crate so the fix is on crates.io?
Yeah, was hoping to get the fix for #74 as well, but haven't got confirmation on it yet.
No branches or pull requests
To reproduce, run the following program (with
miniz_oxide 0.3.6
):Expected result: it should terminate instantly.
Actual result: it does not terminate.
Same for
The text was updated successfully, but these errors were encountered: