]> git.lizzy.rs Git - zlib.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)
committerMark Adler <madler@alumni.caltech.edu>
Thu, 16 Feb 2017 06:39:25 +0000 (22:39 -0800)
commit2d80d3f6b52f9fa454c26c89d2d6a1790e1cecb0
treed9338ba447a2eea678bb7d863218ff3d40f04c2b
parentf9694097dd69354b03cb8af959094c7f260db0a1
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