#42 unable to process windows zip64 file

open-fixed
nobody
None
5
2013-02-05
2013-02-05
Roy Tam
No

The file is downloaded from http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/Linux/IE9_Win7.zip

# unzip -l IE9_Win7.zip
Archive: IE9_Win7.zip
warning [IE9_Win7.zip]: 707116788 extra bytes at beginning or within zipfile
(attempting to process anyway)
error [IE9_Win7.zip]: start of central directory not found;
zipfile corrupt.
(please check that you have transferred or created the zipfile in the
appropriate BINARY mode and that you have compiled UnZip properly)

# zip -FFv IE9_Win7.zip --out IE9_Win7.fixed.zip

IE9_Win7.zip:
12A25 BEA0: 03 3B B0 80 DC FF 06 50 4B 01 02 2D 00 2D 00 00 .;.....P K..-.-..
12A25 BEB0: 00 09 00 06 90 5C 41 1E 9D B8 F2 FF FF FF FF FF .....\A. ........
12A25 BEC0: FF FF FF 0E 00 14 00 00 00 00 00 00 00 20 00 00 ........ ..... ..
12A25 BED0: 00 00 00 00 00 49 45 39 20 2D 20 57 69 6E 37 2E .....IE9 - Win7.
12A25 BEE0: 6F 76 61 01 00 10 00 00 FA C0 2E 01 00 00 00 67 ova..... .......g
12A25 BEF0: BE 25 2A 01 00 00 00 50 4B 06 06 2C 00 00 00 00 .%*....P K..,....
12A25 BF00: 00 00 00 <2D 00> 2D 00 00 00 00 00 00 00 00 00 01 ...-.-.. ........
12A25 BF10: 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 50 ........ .......P
12A25 BF20: 00 00 00 00 00 00 00 A7 BE 25 2A 01 00 00 00 50 ........ .%*....P
12A25 BF30: 4B 06 07 00 00 00 00 F7 BE 25 2A 01 00 00 00 <00> K....... .%*.....
12A25 BF40: 00 00 00 50 4B 05 06 00 00 00 00 01 00 01 00 50 ...PK... .......P
12A25 BF50: 00 00 00 FF FF FF FF 00 00 ........ .

IE9_Win7.fixed.zip:
12A25 BEA0: 03 3B B0 80 DC FF 06 50 4B 01 02 2D 00 2D 00 00 .;.....P K..-.-..
12A25 BEB0: 00 09 00 06 90 5C 41 1E 9D B8 F2 FF FF FF FF FF .....\A. ........
12A25 BEC0: FF FF FF 0E 00 14 00 00 00 00 00 00 00 20 00 00 ........ ..... ..
12A25 BED0: 00 00 00 00 00 49 45 39 20 2D 20 57 69 6E 37 2E .....IE9 - Win7.
12A25 BEE0: 6F 76 61 01 00 10 00 00 FA C0 2E 01 00 00 00 67 ova..... .......g
12A25 BEF0: BE 25 2A 01 00 00 00 50 4B 06 06 2C 00 00 00 00 .%*....P K..,....
12A25 BF00: 00 00 00 <1F 03> 2D 00 00 00 00 00 00 00 00 00 01 .....-.. ........
12A25 BF10: 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 50 ........ .......P
12A25 BF20: 00 00 00 00 00 00 00 A7 BE 25 2A 01 00 00 00 50 ........ .%*....P
12A25 BF30: 4B 06 07 00 00 00 00 F7 BE 25 2A 01 00 00 00 <01> K....... .%*.....
12A25 BF40: 00 00 00 50 4B 05 06 00 00 00 00 01 00 01 00 50 ...PK... .......P
12A25 BF50: 00 00 00 FF FF FF FF 00 00 ........ .

# unzip -v
UnZip 6.10b BETA of 10 Dec 10, by Info-ZIP. Maintained by C. Spieler. Send
bug reports using http://www.info-zip.org/zip-bug.html; see README for details.

Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip/ ;
see ftp://ftp.info-zip.org/pub/infozip/UnZip.html for other sites.

Compiled with gcc 4.1.2 20080704 (Red Hat 4.1.2-52) for Unix (GNU/Linux i686) on Feb 5 2013.

UnZip special compilation options:
ASM_CRC
COPYRIGHT_CLEAN (PKZIP 0.9x unreducing method not supported)
SET_DIR_ATTRIB
SYMLINKS (symbolic links supported, if RTL and file system permit)
TIMESTAMP
UNIXBACKUP (-B creates backup files)
USE_EF_UT_TIME
USE_UNSHRINK (PKZIP/Zip 1.x unshrinking method supported)
USE_DEFLATE64 (PKZIP 4.x Deflate64(tm) supported)
UNICODE_SUPPORT [wide-chars, char coding: UTF-8] (handle UTF-8 paths)
MBCS-support (multibyte character support, MB_CUR_MAX = 6)
LARGE_FILE_SUPPORT (large files over 2 GiB supported)
ZIP64_SUPPORT (archives using Zip64 for large files supported)
VMS_TEXT_CONV
[decryption, version 2.11 of 05 Jan 2007]

UnZip and ZipInfo environment options:
UNZIP: [none]
UNZIPOPT: [none]
ZIPINFO: [none]
ZIPINFOOPT: [none]

# zip -v
Copyright (c) 1990-2010 Info-ZIP - Type 'zip "-L"' for software license.
This is Zip 3.1c BETA (Jun 22nd 2010), by Info-ZIP.
Currently maintained by E. Gordon. Please send bug reports to
the authors using the web page at www.info-zip.org; see README for details.

Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip,
as of above date; see http://www.info-zip.org/ for other sites.

Compiled with gcc 4.1.2 20080704 (Red Hat 4.1.2-52) for Unix (GNU/Linux i686) on Feb 5 2013.

Zip special compilation options:
ASM_CRC
ASMV
USE_EF_UT_TIME (store Universal Time)
BZIP2_SUPPORT (bzip2 library version 1.0.3, 15-Feb-2005)
bzip2 code and library copyright (c) Julian R Seward
(See the bzip2 license for terms of use)
SYMLINK_SUPPORT (symbolic links supported)
LARGE_FILE_SUPPORT (can read and write large files on file system)
ZIP64_SUPPORT (use Zip64 to store large files in archives)
UNICODE_SUPPORT (store and read UTF-8 Unicode paths)
STORE_UNIX_UIDs_GIDs (store UID/GID sizes/values using new extra field)
UIDGID_NOT_16BIT (old Unix 16-bit UID/GID extra field not used)
[encryption, version 2.91 of 05 Jan 2007] (modified for Zip 3)

Encryption notice:
The encryption code of this program is not copyrighted and is
put in the public domain. It was originally written in Europe
and, to the best of our knowledge, can be freely distributed
in both source and object forms from any country, including
the USA under License Exception TSU of the U.S. Export
Administration Regulations (section 740.13(e)) of 6 June 2002.

Zip environment options:
ZIP: [none]
ZIPOPT: [none]

Discussion

  • Roy Tam

    Roy Tam - 2013-02-05

    ignore error if ecloc64_total_disks=0

     
  • Steven Schweda

    Steven Schweda - 2013-02-05

    Thanks for the report (and the suggested patch). We seem to have
    made an equivalent change in the development code since version 6.10b,
    but the official 6.10c beta version has been delayed (for too long). We
    hope to get that beta kit out sometime in Spring 2013 (but no bets), and
    that fix should be in it.

     
  • Steven Schweda

    Steven Schweda - 2013-02-05
    • status: open --> open-fixed
     
  • Roy Tam

    Roy Tam - 2013-02-06

    OT: in unzip610c08a_l_sI.zip
    fileio.c:2735: error: ‘Uz_Globs’ has no member named ‘unipath_filenam’

    'e' is missing ;)

    and msdos/Makefile.dj2 missing LZMA/PPMd support ;)

     
  • Steven Schweda

    Steven Schweda - 2013-02-06

    > fileio.c:2735: error: `Uz_Globs' has no member named `unipath_filenam'

    Oops. Thanks. Should be better now.

    > and msdos/Makefile.dj2 missing LZMA/PPMd support ;)

    Currently, all the new compression and encryption methods (LZMA and
    PPMd, and AES_WG) are supported for Unix-"generic" and VMS builds only.
    But we're always open to clever patches.

     

Log in to post a comment.