mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-13 09:35:23 -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++;
|
||||
|
||||
case GZIP_STATE_FLAGS:
|
||||
Header_ReadU8(tmp);
|
||||
Header_ReadU8(header->Flags);
|
||||
if (header->Flags & 0x04) return GZIP_ERR_FLAGS;
|
||||
header->State++;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user