aboutsummaryrefslogtreecommitdiff
path: root/INDEX
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2017-04-16 08:35:33 -0700
committerMark Adler <madler@alumni.caltech.edu>2017-04-16 08:35:33 -0700
commit44e8ac810d7d50381429a15cdc6e48816beafd2b (patch)
tree751b95f60660f77e237a93ff76e2299facc77bbf /INDEX
parent89245c0a84eac0c5cfc6f0eb2fe72854f4b2c9e6 (diff)
downloadzlib-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 'INDEX')
0 files changed, 0 insertions, 0 deletions