mirror of https://github.com/madler/zlib.git
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.pull/124/merge
parent
89245c0a84
commit
44e8ac810d
1 changed files with 2 additions and 0 deletions
Loading…
Reference in new issue