VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/zlib/inflate.c
diff options
context:
space:
mode:
authorDLL125 <134442578+DLL125@users.noreply.github.com>2024-04-10 18:47:29 +0200
committerGitHub <noreply@github.com>2024-04-10 18:47:29 +0200
commitecf1047019190d07468489d2dfd2fdc56c092e26 (patch)
tree539c0290be9f1d8ddc4dc2a8ce51be6d7707383c /src/Common/zlib/inflate.c
parentce2a254c51cdd14f9087142391185156e3cc6eac (diff)
downloadVeraCrypt-ecf1047019190d07468489d2dfd2fdc56c092e26.tar.gz
VeraCrypt-ecf1047019190d07468489d2dfd2fdc56c092e26.zip
update zlib + copyright (#1302)
Diffstat (limited to 'src/Common/zlib/inflate.c')
-rw-r--r--src/Common/zlib/inflate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/zlib/inflate.c b/src/Common/zlib/inflate.c
index b0757a9b..94ecff01 100644
--- a/src/Common/zlib/inflate.c
+++ b/src/Common/zlib/inflate.c
@@ -1387,7 +1387,7 @@ int ZEXPORT inflateSync(z_streamp strm) {
/* if first time, start search in bit buffer */
if (state->mode != SYNC) {
state->mode = SYNC;
- state->hold <<= state->bits & 7;
+ state->hold >>= state->bits & 7;
state->bits -= state->bits & 7;
len = 0;
while (state->bits >= 8) {