When `inflate` returns `Z_NEED_DICT` this is currently not reported as
an error and callers may assume that the decompression succeeded when it
did not. In particular, a compressed table in a woff file may not
actually be decompressed and written as expected, leaving the backing
memory for the expanded table uninitialized.
* src/gzlip/ftgzip.c (FT_Gzip_Uncompress): treat `Z_NEED_DICT` as
indicating invalid data since there is no means to provide a dictionary.
Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1335712
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Name: zlib
Short Name: zlib
URL: http://zlib.net/
Version: 1.2.12
License: see `zlib.h`
Description:
"A massively spiffy yet delicately unobtrusive compression library."
'zlib' is a free, general-purpose, legally unencumbered lossless
data-compression library. 'zlib' implements the "deflate"compression
algorithm described by RFC 1951, which combines the LZ77 (Lempel-Ziv)
algorithm with Huffman coding. zlib also implements the zlib (RFC 1950) and
gzip (RFC 1952) wrapper formats.
Local Modifications:
The files in this directory have been prepared as follows.
- Take the unmodified source code files from the zlib distribution that are
included by `ftgzip.c`.
- Run zlib's `zlib2ansi` script on all `.c` files.
- Apply the diff file(s) in the `patches` folder.