commit | b76f18d331f865225f1702794e66e87818584f99 | [log] [tgz] |
---|---|---|
author | Dan Fandrich <dan@coneharvesters.com> | Thu Jun 17 21:39:44 2010 -0700 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Fri Jun 18 13:32:39 2010 +0200 |
tree | 62c935bc2db0fd5af12fae2e3e060924a900e484 | |
parent | eafc6956f6fa86cb7d4bf488e96eeee34c551819 [diff] |
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>