diff options
author | John Högberg <[email protected]> | 2017-11-07 17:24:55 +0100 |
---|---|---|
committer | John Högberg <[email protected]> | 2017-11-09 08:23:20 +0100 |
commit | 8cfe9496873fa36eccda939e56bf7a922e945ca9 (patch) | |
tree | 0b7c43c6c45fd0e87e680f734c0ceb0187c95187 /erts/preloaded/ebin/zlib.beam | |
parent | 3e8c1ff94c0a73df71daadd4eb782c21c49f22d9 (diff) | |
download | otp-8cfe9496873fa36eccda939e56bf7a922e945ca9.tar.gz otp-8cfe9496873fa36eccda939e56bf7a922e945ca9.tar.bz2 otp-8cfe9496873fa36eccda939e56bf7a922e945ca9.zip |
Fix deflateParams on zlib 1.2.11
1.2.11 started bailing when avail_out==0 regardless of whether
there's anything to flush or not, and there's no point in adapting
the old method since it was vulnerable to bugs in other zlib
versions which updated the deflate parameters even on failure.
The api_deflateParams test has been expanded accordingly, and two
white-box cases in zip_usage has been updated to make fewer
assumptions about the output; the validity of the compressed data
is what matters, not whether it's exactly the same as the test
vector.
Diffstat (limited to 'erts/preloaded/ebin/zlib.beam')
-rw-r--r-- | erts/preloaded/ebin/zlib.beam | bin | 19784 -> 19744 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/erts/preloaded/ebin/zlib.beam b/erts/preloaded/ebin/zlib.beam Binary files differindex f388bc723a..4ad5f37434 100644 --- a/erts/preloaded/ebin/zlib.beam +++ b/erts/preloaded/ebin/zlib.beam |