File tree 2 files changed +5
-2
lines changed 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " flate2"
3
3
authors = [
" Alex Crichton <[email protected] >" ,
" Josh Triplett <[email protected] >" ]
4
- version = " 1.0.31 "
4
+ version = " 1.0.32 "
5
5
edition = " 2018"
6
6
license = " MIT OR Apache-2.0"
7
7
readme = " README.md"
Original file line number Diff line number Diff line change @@ -263,7 +263,9 @@ impl InflateBackend for Inflate {
263
263
( * raw) . avail_out = 0 ;
264
264
265
265
match rc {
266
- MZ_DATA_ERROR | MZ_STREAM_ERROR => mem:: decompress_failed ( self . inner . msg ( ) ) ,
266
+ MZ_DATA_ERROR | MZ_STREAM_ERROR | MZ_MEM_ERROR => {
267
+ mem:: decompress_failed ( self . inner . msg ( ) )
268
+ }
267
269
MZ_OK => Ok ( Status :: Ok ) ,
268
270
MZ_BUF_ERROR => Ok ( Status :: BufError ) ,
269
271
MZ_STREAM_END => Ok ( Status :: StreamEnd ) ,
@@ -431,6 +433,7 @@ mod c_backend {
431
433
pub use libz:: Z_DEFLATED as MZ_DEFLATED ;
432
434
pub use libz:: Z_FINISH as MZ_FINISH ;
433
435
pub use libz:: Z_FULL_FLUSH as MZ_FULL_FLUSH ;
436
+ pub use libz:: Z_MEM_ERROR as MZ_MEM_ERROR ;
434
437
pub use libz:: Z_NEED_DICT as MZ_NEED_DICT ;
435
438
pub use libz:: Z_NO_FLUSH as MZ_NO_FLUSH ;
436
439
pub use libz:: Z_OK as MZ_OK ;
You can’t perform that action at this time.
0 commit comments