aboutsummaryrefslogtreecommitdiff
path: root/toys/other/hexedit.c
diff options
context:
space:
mode:
authorPuck Meerburg <puck@puck.moe>2020-12-13 18:27:08 +0000
committerRob Landley <rob@landley.net>2020-12-14 02:09:36 -0600
commit74461ba2eeb0d77205c732419ab5ce5832b1caca (patch)
tree81f449af0fd6a5e83597b65f051a7c471a99582f /toys/other/hexedit.c
parent769b8a1c42a1c44fec930795fd3ce8799ec39537 (diff)
downloadtoybox-74461ba2eeb0d77205c732419ab5ce5832b1caca.tar.gz
Follow RFC1952 when consuming gzip header
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.
Diffstat (limited to 'toys/other/hexedit.c')
0 files changed, 0 insertions, 0 deletions