Frommi / miniz_oxide

Rust replacement for miniz
MIT License
168 stars 48 forks source link

decompress_to_vec should have a max_size parameter #58

Closed SergejJurecko closed 3 years ago

SergejJurecko commented 4 years ago

Guarding against decompression bombs should be easy.

oyvindln commented 4 years ago

It's mostly a convenience function, but sounds reasonable anyhow. Either we add a new function or change the existing one on the next major release.

oyvindln commented 3 years ago

Fixed by #88