Closed itzurabhi closed 4 years ago
Yeah seems similar. The backtrace points to line 0 in core.rs for some reason, so I will try to reproduce to find which variable overflows.
Sorry for taking a while to try to solve this. Are you able to test if it works on the latest commit?
I've changed the buffers to use usize for indexing, and it fixed the overflow when testing with a huge file for me, so hopefully it solves this too.
Thanks for fixing it.
I didn't test the library standalone,I got the error while building rustc itself (package step) .
I'll try and update here.
I'm also hitting this whilst compiling rustc - is it possible to publish the 0.3.7
release to crates.io?
I'd like to submit a PR to flate2, then subsequently to rustc, fixing the overflow errors during rustc
x.py install
.
Ah, thought I had put it up, seems I put up the c api part instead.
Found as part of the Rust compiler build. miniz version - miniz_oxide-0.3.5 Rust version tag : release v1.41.1 Channel : nightly config.toml
during x.py install
https://github.com/solana-labs/solana/issues/5411 looks similar.