commit | e554695638228b846d49657f31eeff0ca4680e8a | [log] [tgz] |
---|---|---|
author | Mark Adler <madler@alumni.caltech.edu> | Thu Dec 15 09:07:13 2022 -0800 |
committer | Mark Adler <madler@alumni.caltech.edu> | Thu Dec 15 09:15:31 2022 -0800 |
tree | 8f01c7ef4e8c6f599922a38700165c8537fdcdbf | |
parent | 76820e4107f534231f1302351a7ea479e86d1dd4 [diff] |
Fix bug in deflateBound() for level 0 and memLevel 9. memLevel 9 would cause deflateBound() to assume the use of fixed blocks, even if the compression level was 0, which forces stored blocks. That could result in a bound less than the size of the compressed data. Now level 0 always uses the stored blocks bound.