diff options
author | Puck Meerburg <puck@puck.moe> | 2020-12-13 18:27:08 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-12-14 02:09:36 -0600 |
commit | 74461ba2eeb0d77205c732419ab5ce5832b1caca (patch) | |
tree | 81f449af0fd6a5e83597b65f051a7c471a99582f /toys/other/switch_root.c | |
parent | 769b8a1c42a1c44fec930795fd3ce8799ec39537 (diff) | |
download | toybox-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/switch_root.c')
0 files changed, 0 insertions, 0 deletions