]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Limit hash table inserts after switch from stored deflate.
authorMark Adler <madler@alumni.caltech.edu>
Sat, 21 Jan 2017 09:50:26 +0000 (01:50 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Tue, 15 Jan 2019 11:13:03 +0000 (12:13 +0100)
commit34c3661e9200c7cefa29d274b7adc9f9ebbc5faf
tree35ad99f161c3e70cb2e884febaf93c8515d0e0f6
parent0da1279b83e1132b0e79ba3ab42c5c7daf0782da
Limit hash table inserts after switch from stored deflate.

This limits hash table inserts to the available data in the window
and to the sliding window size in deflate_stored(). The hash table
inserts are deferred until deflateParams() switches to a non-zero
compression level.
deflate.c