Make gzip checksum check length, not just CRC32

This commit is contained in:
Nigel Tao committed 2018-03-28 12:36:31 +11:00
1 parent a8e40fedc9
commit ef899b0492
4 files changed
+26 -8

No files matched your search

+1
View File
@@ -519,6 +519,7 @@ typedef struct {
uint8_t v_c;
uint16_t v_xlen;
uint32_t v_checksum_got;
uint32_t v_decoded_length_got;
wuffs_gzip__status v_z;
uint32_t v_checksum_want;
uint32_t v_decoded_length_want;