mirror of https://github.com/madler/zlib.git
When windowBits is zero, the size of the sliding window comes from the zlib header. The allowed values of the four-bit field are 0..7, but when windowBits is zero, values greater than 7 are permitted and acted upon, resulting in large, mostly unused memory allocations. This fix rejects such invalid zlib headers.pull/118/head
parent
8f1b3744e5
commit
6cef1de740
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue