Improve error checking in deflatePrime()
authortb <tb@openbsd.org>
Fri, 25 Mar 2022 10:58:39 +0000 (10:58 +0000)
committertb <tb@openbsd.org>
Fri, 25 Mar 2022 10:58:39 +0000 (10:58 +0000)
commit407eca13f1c834c7f4cdd841113a3d7c70ee7fd9
treeed44ecfa9ece3efdc91dc4a8dcb17b89b0df5678
parentf0c342b35dfbc8e7e49eb57eca49c890375eb18a
Improve error checking in deflatePrime()

This is a small follow-up commit to the previous commit.

ok mbuhl millert

commit 4346a16853e19b45787ce933666026903fb8f3f8
Author: Mark Adler <madler@alumni.caltech.edu>
Date:   Tue Apr 17 22:44:41 2018 -0700

    Assure that the number of bits for deflatePrime() is valid.

https://github.com/madler/zlib/commit/4346a16853e19b45787ce933666026903fb8f3f8
lib/libz/deflate.c