3rdparty.bug 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. Known, current PKZIP bugs/limitations:
  2. -------------------------------------
  3. - PKUNZIP 2.04g is reported to corrupt some files when compressing them with
  4. the -ex option; when tested, the files fail the CRC check, and comparison
  5. with the original file shows bogus data (6K in one case) embedded in the
  6. middle. PKWARE apparently characterized this as a "known problem."
  7. - PKUNZIP 2.04g considers volume labels valid only if originated on a FAT
  8. file system, but other OSes and file systems (e.g., Amiga and OS/2 HPFS)
  9. support volume labels, too.
  10. - PKUNZIP 2.04g can restore volume labels created by Zip 2.x but not by
  11. PKZIP 2.04g (OS/2 DOS box only??).
  12. - PKUNZIP 2.04g gives an error message for stored directory entries created
  13. under other OSes (although it creates the directory anyway), and PKZIP -vt
  14. does not report the directory attribute bit as being set, even if it is.
  15. - PKZIP 2.04g mangles unknown extra fields (especially OS/2 extended attri-
  16. butes) when adding new files to an existing zipfile [example: Walnut Creek
  17. Hobbes March 1995 CD-ROM, FILE_ID.DIZ additions].
  18. - PKUNZIP 2.04g is unable to detect or deal with prepended junk in a zipfile,
  19. reporting CRC errors in valid compressed data.
  20. - PKUNZIP 2.04g (registered version) incorrectly updates/freshens the AV extra
  21. field in authenticated archives. The resultant extra block length and total
  22. extra field length are inconsistent.
  23. - [Windows version 2.01] Win95 long filenames (VFAT) are stored OK, but the
  24. file system is always listed as ordinary DOS FAT.
  25. - [Windows version 2.50] NT long filenames (NTFS) are stored OK, but the
  26. file system is always listed as ordinary DOS FAT.
  27. - PKZIP 2.04 for DOS encrypts using the OEM code page for 8-bit passwords,
  28. while PKZIP 2.50 for Windows uses Latin-1 (ISO 8859-1). This means an
  29. archive encrypted with an 8-bit password with one of the two PKZIP versions
  30. cannot be decrypted with the other version.
  31. - PKZIP for Windows GUI (v 2.60), PKZIP for Windows command line (v 2.50) and
  32. PKZIP for Unix (v 2.51) save the host's native file timestamps, but
  33. only in a local extra field. Thus, timestamp-related selections (update
  34. or freshen, both in extraction or archiving operations) use the DOS-format
  35. localtime records in the Zip archives for comparisons. This may result
  36. in wrong decisions of the program when updating archives that were
  37. previously created in a different local time zone.
  38. - PKZIP releases newer than PKZIP for DOS 2.04g (PKZIP for Windows, both
  39. GUI v 2.60 and console v 2.50; PKZIP for Unix v 2.51; probably others too)
  40. use different code pages for storing filenames in central (OEM Codepage)
  41. and local (ANSI / ISO 8859-1 Codepage) headers. When a stored filename
  42. contains extended-ASCII characters, the local and central filename fields
  43. do not match. As a consequence, Info-ZIP's Zip program considers such
  44. archives as being corrupt and does not allow to modify them. Beginning
  45. with release 5.41, Info-ZIP's UnZip contains a workaround to list AND
  46. extract such archives with the correct filenames.
  47. Maybe PKWARE has implemented this "feature" to allow extraction of their
  48. "made-by-PKZIP for Unix/Windows" archives using old (v5.2 and earlier)
  49. versions of Info-ZIP's UnZip for Unix/WinNT ??? (UnZip versions before
  50. v 5.3 assumed that all archive entries were encoded in the codepage of
  51. the UnZip program's host system.)
  52. - PKUNZIP 2.04g is reported to have problems with archives created on and/or
  53. copied from Iomega ZIP drives (irony, eh?).
  54. Known, current WinZip bugs/limitations:
  55. --------------------------------------
  56. - [16-bit version 6.1a] NT short filenames (FAT) are stored OK, but the
  57. file system is always listed as NTFS.
  58. - WinZip doesn't allow 8-bit passwords, which means it cannot decrypt an
  59. archive created with an 8-bit password (by PKZIP or Info-ZIP's Zip).
  60. - WinZip (at least Versions 6.3 PL1, 7.0 SR1) fails to remove old extra
  61. fields when freshening existing archive entries. When updating archives
  62. created by Info-ZIP's Zip that contain UT time stamp extra field blocks,
  63. UnZip cannot display or restore the updated (DOS) time stamps of the
  64. freshened archive members.
  65. Known, current other third-party Zip utils bugs/limitations:
  66. ------------------------------------------------------------
  67. - Asi's PKZip clones for Macintosh (versions 2.3 and 2.10d) are thoroughly
  68. broken. They create invalid Zip archives!
  69. a) For the first entry, both compressed size and uncompressed length
  70. are recorded as 0, despite the fact that compressed data of non-zero
  71. length has been added.
  72. b) Their program creates extra fields with an (undocumented) internal
  73. structure that violates the requirements of PKWARE's Zip format
  74. specification document "appnote.txt": Their extra field seems to
  75. contain pure data; the 4-byte block header consisting of block ID
  76. and data length is missing.
  77. Possibly current PKZIP bugs:
  78. ---------------------------
  79. - PKZIP (2.04g?) can silently ignore read errors on network drives, storing
  80. the correct CRC and compressed length but an incorrect and inconsistent
  81. uncompressed length.
  82. - PKZIP (2.04g?), when deleting files from within a zipfile on a Novell
  83. drive, sometimes only zeros out the data while failing to shrink the
  84. zipfile.
  85. Other limitations:
  86. -----------------
  87. - PKZIP 1.x and 2.x encryption has been cracked (known-plaintext approach;
  88. see http://www.cryptography.com/ for details).
  89. [many other bugs in PKZIP 1.0, 1.1, 1.93a, 2.04c and 2.04e]