gzip: invalid length and checksum checks #19839
Labels
Bug
This tag is applied to issues which reports bugs.
Unit: vlib
Bugs/feature requests, that are related to the vlib.
Describe the bug
When decompressing a gzipped file of ~5KB the length and checksum verifications fail.
Reproduction Steps
Expected Behavior
No errors
Current Behavior
Possible Solution
The decompression algorithm is correct, because when I remove the length and checksum check I can see that result is correct.
The following code seems to be overflowing/underflowing
gzip.v
Additional Information/Context
No response
V version
0.4.2
Environment details (OS name and version, etc.)
V full version: V 0.4.2 25777bd.ad935ca
OS: Linux
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: