aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-01-08 14:14:19 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2017-01-08 14:14:19 +0100
commit0ffac1cc22e3e864e64c1e0357ffd127fd1c1b23 (patch)
tree1ff0357518225673e5d8fd5dc099cbde2ed172b9 /testsuite
parent86584e134eec1a81298149f8c04c77727f6dccb9 (diff)
downloadbusybox-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-xtestsuite/unzip.tests4
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
34optional FEATURE_UNZIP_CDF 34optional FEATURE_UNZIP_CDF
35testing "unzip (bad archive)" "uudecode; unzip bad.zip 2>&1; echo \$?" \ 35testing "unzip (bad archive)" "uudecode; unzip bad.zip 2>&1; echo \$?" \
36"Archive: bad.zip 36"Archive: bad.zip
37unzip: short read 37 inflating: ]3j½r«IK-%Ix
38unzip: corrupted data
39unzip: inflate error
381 401
39" \ 41" \
40"" "\ 42"" "\