]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Avoid shifts of negative values inflateMark().
authorMark Adler <madler@alumni.caltech.edu>
Sun, 6 Sep 2015 00:45:55 +0000 (17:45 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 9 Oct 2020 09:30:04 +0000 (11:30 +0200)
commite6a27bda7f73beb5f7c638ef5db9846b3d51941f
treea67e19836692e004ac6054f23daa7849ba437a0a
parentb5b48c1883903ccbab7ec61d06352cdb9328dc0f
Avoid shifts of negative values inflateMark().

The C standard says that bit shifts of negative integers is
undefined.  This casts to unsigned values to assure a known
result.
inflate.c