8bb7722a53
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 |
||
---|---|---|
.. | ||
patches | ||
adler32.c | ||
crc32.c | ||
crc32.h | ||
ftgzip.c | ||
ftzconf.h | ||
gzguts.h | ||
infback.c | ||
inffast.c | ||
inffast.h | ||
inffixed.h | ||
inflate.c | ||
inflate.h | ||
inftrees.c | ||
inftrees.h | ||
README.freetype | ||
rules.mk | ||
zlib.h | ||
zutil.c | ||
zutil.h |
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.