mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-09-08 11:50:00 -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;
|
||||
|
||||
/* ISIZE */
|
||||
if (actual_out_nbytes != get_unaligned_le32(in_next))
|
||||
if ((u32)actual_out_nbytes != get_unaligned_le32(in_next))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user