summaryrefslogtreecommitdiff
path: root/inflate.h
Commit message (Collapse)AuthorAgeFilesLines
* zlib 1.2.12v1.2.12Mark Adler2022-03-271-1/+1
|
* Don't bother computing check value after successful inflateSync().Mark Adler2019-01-021-1/+2
| | | | | | | | | | | inflateSync() is used to skip invalid deflate data, which means that the check value that was being computed is no longer useful. This commit turns off the check value computation, and furthermore allows a successful return if the compressed data terminated in a graceful manner. This commit also fixes a bug in the case that inflateSync() is used before a header is ever processed. In that case, there is no knowledge of a trailer, so the remainder is treated as raw.
* zlib 1.2.9v1.2.9Mark Adler2016-12-311-1/+1
|
* Do a more thorough check of the state for every stream call.Mark Adler2016-10-241-1/+2
| | | | | | This verifies that the state has been initialized, that it is the expected type of state, deflate or inflate, and that at least the first several bytes of the internal state have not been clobbered.
* Fix typo.Mark Adler2016-09-211-1/+1
|
* Add option to not compute or check check values.Mark Adler2016-09-201-1/+2
| | | | | | | | | | | | | | | | | | The undocumented (except in these commit comments) function inflateValidate(strm, check) can be called after an inflateInit(), inflateInit2(), or inflateReset2() with check equal to zero to turn off the check value (CRC-32 or Adler-32) computation and comparison. Calling with check not equal to zero turns checking back on. This should only be called immediately after the init or reset function. inflateReset() does not change the state, so a previous inflateValidate() setting will remain in effect. This also turns off validation of the gzip header CRC when present. This should only be used when a zlib or gzip stream has already been checked, and repeated decompressions of the same stream no longer need to be validated.
* Correct the size of the inflate state in the comments.Mark Adler2016-09-201-1/+2
|
* zlib 1.2.3.5v1.2.3.5Mark Adler2011-09-091-1/+1
|
* zlib 1.2.3.4v1.2.3.4Mark Adler2011-09-091-10/+16
|
* zlib 1.2.3.3v1.2.3.3Mark Adler2011-09-091-0/+1
|
* zlib 1.2.3.1v1.2.3.1Mark Adler2011-09-091-2/+2
|
* zlib 1.2.2.2v1.2.2.2Mark Adler2011-09-091-0/+1
|
* zlib 1.2.2.1v1.2.2.1Mark Adler2011-09-091-5/+2
|
* zlib 1.2.0.5v1.2.0.5Mark Adler2011-09-091-1/+2
|
* zlib 1.2.0.4v1.2.0.4Mark Adler2011-09-091-3/+4
|
* zlib 1.2.0.2v1.2.0.2Mark Adler2011-09-091-1/+1
|
* zlib 1.2.0v1.2.0Mark Adler2011-09-091-0/+115
|
* zlib 0.79v0.79Mark Adler2011-09-091-22/+0
|
* zlib 0.71v0.71Mark Adler2011-09-091-0/+22