1e2f66900e
Source: https://gitlab.com/redhat/centos-stream/rpms/zlib/-/merge_requests/17?commit_id=3c80b5dd5c630c46c4877a8faa59146c724c70f0 Resolves: #2135745
12 lines
496 B
Diff
12 lines
496 B
Diff
--- a/contrib/s390/dfltcc.c
|
|
+++ b/contrib/s390/dfltcc.c
|
|
@@ -623,7 +623,7 @@
|
|
state->bits = param->sbb;
|
|
state->whave = param->hl;
|
|
state->wnext = (param->ho + param->hl) & ((1 << HB_BITS) - 1);
|
|
- state->check = state->flags ? ZSWAP32(param->cv) : param->cv;
|
|
+ strm->adler = state->check = state->flags ? ZSWAP32(param->cv) : param->cv;
|
|
if (cc == DFLTCC_CC_OP2_CORRUPT && param->oesc != 0) {
|
|
/* Report an error if stream is corrupted */
|
|
state->mode = BAD;
|