diff options
author | Denys Vlasenko | 2017-01-08 14:14:19 +0100 |
---|---|---|
committer | Denys Vlasenko | 2017-01-08 14:14:19 +0100 |
commit | 0ffac1cc22e3e864e64c1e0357ffd127fd1c1b23 (patch) | |
tree | 1ff0357518225673e5d8fd5dc099cbde2ed172b9 /testsuite | |
parent | 86584e134eec1a81298149f8c04c77727f6dccb9 (diff) | |
download | busybox-0ffac1cc22e3e864e64c1e0357ffd127fd1c1b23.zip busybox-0ffac1cc22e3e864e64c1e0357ffd127fd1c1b23.tar.gz |
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 d9c4524..2e4becd 100755 --- a/testsuite/unzip.tests +++ b/testsuite/unzip.tests @@ -34,7 +34,9 @@ rm foo.zip optional FEATURE_UNZIP_CDF testing "unzip (bad archive)" "uudecode; unzip bad.zip 2>&1; echo \$?" \ "Archive: bad.zip -unzip: short read + inflating: ]3j½r«IK-%Ix +unzip: corrupted data +unzip: inflate error 1 " \ "" "\ |