]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Fixed arithmetic overflow when emitting deflate header bits.
authorNathan Moinvaziri <nathan@nathanm.com>
Mon, 1 Jun 2020 04:46:03 +0000 (21:46 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Mon, 8 Jun 2020 19:13:01 +0000 (21:13 +0200)
commit1b054601f9f01d872a05f22635e714ae11996b9e
tree79d4a19ec19af78fb4602a7e0ef3b626a88c9336
parent6dfff29c01a99e1fe9238a405988874736961953
Fixed arithmetic overflow when emitting deflate header bits.

    Arithmetic overflow: 32-bit value is shifted, then cast to 64-bit value.
      Results might not be an expected value.
trees_emit.h