mirror of https://github.com/madler/zlib.git
The inflate() functions never leave state->bits greater than 24, so an inflatePrime() call could not cause this. The only way this could have happened would be by using inflatePrime() to fill the bit buffer with 32 bits, and then calling inflatePrime() a *second* time asking to insert zero bits, for some reason. This commit assures that a shift by 32 bits does not occur even in that case.pull/643/merge
parent
fa8cd50ada
commit
12b345c430
1 changed files with 2 additions and 0 deletions
Loading…
Reference in new issue