]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
IBM Z DFLTCC: Fix updating strm.adler with inflate()
authorIlya Leoshkevich <iii@linux.ibm.com>
Sat, 17 Sep 2022 13:32:29 +0000 (15:32 +0200)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Mon, 26 Sep 2022 18:10:10 +0000 (20:10 +0200)
commitd38dd9240f2de436769c9ce9549e15cb0d0cfd32
tree966302c74a0927f250e64eebcbb9345ef2354c80
parent6057002d4832457b86eb38d7ae95d661aeeca464
IBM Z DFLTCC: Fix updating strm.adler with inflate()

inflate() does not update strm.adler with DFLTCC.
Add a missing assignment to dfltcc_inflate() to fix this.
Note that deflate() is not affected.
Also add a test to prevent regressions.
arch/s390/dfltcc_inflate.c
test/test_inflate_adler32.cc