diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2017-04-16 08:35:33 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2017-04-16 08:35:33 -0700 |
commit | 44e8ac810d7d50381429a15cdc6e48816beafd2b (patch) | |
tree | 751b95f60660f77e237a93ff76e2299facc77bbf /zlib.3 | |
parent | 89245c0a84eac0c5cfc6f0eb2fe72854f4b2c9e6 (diff) | |
download | zlib-44e8ac810d7d50381429a15cdc6e48816beafd2b.tar.gz zlib-44e8ac810d7d50381429a15cdc6e48816beafd2b.tar.bz2 zlib-44e8ac810d7d50381429a15cdc6e48816beafd2b.zip |
Handle case where inflateSync used when header never processed.
If zlib and/or gzip header processing was requested, but a header
was never provided and inflateSync was used successfully, then the
inflate state would be inconsistent, trying to compute a check
value but with no flags set. This commit sets the inflate mode to
raw in this case, since there is no other assumption that can be
made if a header was requested but never seen.
Diffstat (limited to 'zlib.3')
0 files changed, 0 insertions, 0 deletions