mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 234031 - broken parsing of xlen in gzip rfc 1952 r=mcmanus
This commit is contained in:
parent
603ea0d273
commit
00946babd9
@ -569,7 +569,7 @@ nsHTTPCompressConv::check_header(nsIInputStream *iStr, uint32_t streamLen, nsres
|
||||
case GZIP_EXTRA1:
|
||||
iStr->Read(&c, 1, &unused);
|
||||
streamLen--;
|
||||
mLen = ((uInt) c & 0377) << 8;
|
||||
mLen |= ((uInt) c & 0377) << 8;
|
||||
mSkipCount = 0;
|
||||
hMode = GZIP_EXTRA2;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user