Skip to content

Cherry pick a fix in inflateInit2#30

Merged
LloydW93 merged 1 commit intocloudflare:gcc.amd64from
oraluben:cherry-pick-fix-inflateInit2
Sep 22, 2022
Merged

Cherry pick a fix in inflateInit2#30
LloydW93 merged 1 commit intocloudflare:gcc.amd64from
oraluben:cherry-pick-fix-inflateInit2

Conversation

@oraluben
Copy link
Copy Markdown

@oraluben oraluben commented Jul 26, 2022

This bug affects some unzip workloads.

A windowBits value of 0, 16, or 32 gets the window bits from the
zlib header.  However there is no zlib header for 16, or for 32
when the input is gzip.  This commit sets the window bits for
inflate to 15 if a gzip stream is detected and windowBits was 16
or 32.
@LloydW93 LloydW93 merged commit d2f3dd8 into cloudflare:gcc.amd64 Sep 22, 2022
@oraluben oraluben deleted the cherry-pick-fix-inflateInit2 branch September 22, 2022 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants