diff options
Diffstat (limited to '')
-rw-r--r-- | debian/patches/dummy-zip-password.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/dummy-zip-password.patch b/debian/patches/dummy-zip-password.patch new file mode 100644 index 0000000..062f583 --- /dev/null +++ b/debian/patches/dummy-zip-password.patch @@ -0,0 +1,19 @@ +Last-Update: 2014-12-13 +Forwarded: no +Author: Dmitry Borisyuk" <q1werty@i.com.ua> +Bug-Debian: http://bugs.debian.org/772080 +Description: prevent hangs on extraction from encrypted .ZIP archives, suppress password prompt with dummy password. + +--- a/src/vfs/extfs/helpers/uzip.in ++++ b/src/vfs/extfs/helpers/uzip.in +@@ -32,9 +32,9 @@ + my $cmd_addlink = "$app_zip -g -y"; + # Command used to delete a file from the archive + my $cmd_delete = "$app_zip -d"; + # Command used to extract a file to standard out +-my $cmd_extract = "$app_unzip -p"; ++my $cmd_extract = "$app_unzip -P '' -p"; + + # -rw-r--r-- 2.2 unx 2891 tx 1435 defN 20000330.211927 ./edit.html + # (perm) (?) (?) (size) (?) (zippedsize) (method) (yyyy)(mm)(dd).(HH)(MM)(SS) (fname) + my $regex_zipinfo_line = qr"^(\S{7,10})\s+(\d+\.\d+)\s+(\S+)\s+(\d+)\s+(\S\S)\s+(\d+)\s+(\S{4})\s+(\d{4})(\d\d)(\d\d)\.(\d\d)(\d\d)(\d\d)\s(.*)$"; |