diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-08 14:14:19 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-08 14:14:19 +0100 |
commit | 0ffac1cc22e3e864e64c1e0357ffd127fd1c1b23 (patch) | |
tree | 1ff0357518225673e5d8fd5dc099cbde2ed172b9 /testsuite | |
parent | 86584e134eec1a81298149f8c04c77727f6dccb9 (diff) | |
download | busybox-w32-0ffac1cc22e3e864e64c1e0357ffd127fd1c1b23.tar.gz busybox-w32-0ffac1cc22e3e864e64c1e0357ffd127fd1c1b23.tar.bz2 busybox-w32-0ffac1cc22e3e864e64c1e0357ffd127fd1c1b23.zip |
unzip: do not use CDF.extra_len, read local file header. Closes 9536
While at it, shorten many field and variable names.
function old new delta
unzip_main 2334 2376 +42
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/unzip.tests | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/unzip.tests b/testsuite/unzip.tests index d9c45242c..2e4becdb8 100755 --- a/testsuite/unzip.tests +++ b/testsuite/unzip.tests | |||
@@ -34,7 +34,9 @@ rm foo.zip | |||
34 | optional FEATURE_UNZIP_CDF | 34 | optional FEATURE_UNZIP_CDF |
35 | testing "unzip (bad archive)" "uudecode; unzip bad.zip 2>&1; echo \$?" \ | 35 | testing "unzip (bad archive)" "uudecode; unzip bad.zip 2>&1; echo \$?" \ |
36 | "Archive: bad.zip | 36 | "Archive: bad.zip |
37 | unzip: short read | 37 | inflating: ]3j½r«IK-%Ix |
38 | unzip: corrupted data | ||
39 | unzip: inflate error | ||
38 | 1 | 40 | 1 |
39 | " \ | 41 | " \ |
40 | "" "\ | 42 | "" "\ |