flate2-rs icon indicating copy to clipboard operation
flate2-rs copied to clipboard

unknown return code: -4

Open prz23 opened this issue 1 year ago • 2 comments
trafficstars

image

prz23 avatar May 14 '24 09:05 prz23

image

The case with -4 will cause an error, and data is transient..

prz23 avatar May 14 '24 09:05 prz23

Indeed, the code triggered is here and it seems like -4 refers to Z_MEM_ERROR.

I think it that should be handled as well and cause an error instead.

Would you like to contribute this as PR? I'd do it too but can't merge my own PRs, so having a base-PR would be helpful to get a fix more quickly.

Byron avatar May 14 '24 12:05 Byron