From 0ffac1cc22e3e864e64c1e0357ffd127fd1c1b23 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 8 Jan 2017 14:14:19 +0100 Subject: 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 --- testsuite/unzip.tests | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'testsuite/unzip.tests') 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 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 " \ "" "\ -- cgit v1.2.3