]> git.lizzy.rs Git - zlib.git/commit
Do a more thorough check of the state for every stream call.
authorMark Adler <madler@alumni.caltech.edu>
Tue, 25 Oct 2016 03:11:41 +0000 (20:11 -0700)
committerMark Adler <madler@alumni.caltech.edu>
Tue, 25 Oct 2016 04:07:43 +0000 (21:07 -0700)
commitb516b4bdd7c0c9f0858adfebf732089014f7b282
treefcee291aca78e7bf475e0060e42f18a40174c947
parent77fd7e56bfc75b4194145060bb1ec5256ce077c6
Do a more thorough check of the state for every stream call.

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.
deflate.c
inflate.c
inflate.h