diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2010-06-17 21:39:44 -0700 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-06-18 13:32:39 +0200 |
commit | b76f18d331f865225f1702794e66e87818584f99 (patch) | |
tree | 62c935bc2db0fd5af12fae2e3e060924a900e484 /findutils/grep.c | |
parent | eafc6956f6fa86cb7d4bf488e96eeee34c551819 (diff) | |
download | busybox-b76f18d331f865225f1702794e66e87818584f99.tar.gz |
Improve unzip's handling of stream ZIP files
Search harder for the ZIP magic numbers at the end of a file by checking
16 KiB from the end instead of just 1 KiB. ZIP files with long comments
(such as certain cryptographically signed files) or those sitting in a
wrapper could have more than 1 KiB of data after the magic numbers, so
they couldn't be read.
Signed-off-by: Dan Fandrich <dan@coneharvesters.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'findutils/grep.c')
0 files changed, 0 insertions, 0 deletions