mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-09-11 05:19:43 -04:00
gzip_decompress: ISIZE is mod 2^32 of the actual size
This commit is contained in:
parent
7be1effacc
commit
a8ace6e46a
@ -100,7 +100,7 @@ gzip_decompress(struct deflate_decompressor *d,
|
|||||||
in_next += 4;
|
in_next += 4;
|
||||||
|
|
||||||
/* ISIZE */
|
/* ISIZE */
|
||||||
if (actual_out_nbytes != get_unaligned_le32(in_next))
|
if ((u32)actual_out_nbytes != get_unaligned_le32(in_next))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user