Skip to content
Commit e5a9c665 authored by Przemyslaw Szczepaniak's avatar Przemyslaw Szczepaniak
Browse files

Cherry-pick fix for 1.2.11 deterministic output regression

GitHub bug containing fix: https://github.com/madler/zlib/issues/275
commit: f9694097dd69354b03cb8af959094c7f260db0a1:

Permit a deflateParams() parameter change as soon as possible.

This commit allows a parameter change even if the input data has
not all been compressed and copied to the application output
buffer, so long as all of the input data has been compressed to
the internal pending output buffer. This also allows an immediate
deflateParams change so long as there have been no deflate calls
since initialization or reset.

Test: libcore.java.util.zip.DeflateRegressionTest
Bug: 72090715
Change-Id: I532de817e042d9715aafcffddd1eb622abdb5aec
parent 45db7492
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment