mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-13 17:47:12 -04:00
Fix maps with non-zero GZIP header flags not getting decoded properly (Thanks fam0r)
This commit is contained in:
parent
e4e04e75a0
commit
93ae0ef5c9
@ -44,7 +44,7 @@ cc_result GZipHeader_Read(struct Stream* s, struct GZipHeader* header) {
|
|||||||
header->State++;
|
header->State++;
|
||||||
|
|
||||||
case GZIP_STATE_FLAGS:
|
case GZIP_STATE_FLAGS:
|
||||||
Header_ReadU8(tmp);
|
Header_ReadU8(header->Flags);
|
||||||
if (header->Flags & 0x04) return GZIP_ERR_FLAGS;
|
if (header->Flags & 0x04) return GZIP_ERR_FLAGS;
|
||||||
header->State++;
|
header->State++;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user