[Toybox] [PATCH] Follow RFC1952 when consuming gzip header

Rob Landley rob at landley.net
Mon Dec 14 00:10:51 PST 2020


On 12/13/20 12:33 PM, Puck Meerburg wrote:
> The FEXTRA field, indicated by bit 2 of the flag byte, contains
> arbitrary extra data, prefixed by a 16-bit length value. The previous
> code skipped over the length, but not the actual contents, breaking
> decompression of certain files.

Applied, but do you have a test I can add to the test suite? (Or just send me
the smallest file you can I can use to make a test?)

Thanks,

Rob



More information about the Toybox mailing list