You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found this, when been reported about problem with decompressing data with wrong window size in header. I tried to force windowBits to max, but this did not helped.
Here you ignore window size from header, if been passed in options before.
But here you still use len instead of state->wbits to define state->dmax. Than make passing bigger windowBits "useless" for inflate, when header exists.
I don't know is this intended behaviour or not. Look like a bug.
Could you comment or fix?
The text was updated successfully, but these errors were encountered:
Ref: nodeca/pako#174 (comment)
Found this, when been reported about problem with decompressing data with wrong window size in header. I tried to force windowBits to max, but this did not helped.
len
instead ofstate->wbits
to definestate->dmax
. Than make passing biggerwindowBits
"useless" for inflate, when header exists.I don't know is this intended behaviour or not. Look like a bug.
Could you comment or fix?
The text was updated successfully, but these errors were encountered: