Hi, all.

The class ZipInputStream does not read `central direcroty file header'
in zipfile. Some zipfile contains a few extra bytes before `local file
header`. This information was written in `central directory file
header'. These extra bytes would abort jar command.

I enclosed small test file. you can examine that extra bytes, using
`UnZip 5.40 of 28 November 1998, by Info-ZIP'.
try `unzip -Z -v test.zip'.

Sorry, currentry I have no time to fix this bug.

==============================================================
Central directory entry #3:
---------------------------

  There are an extra 16 bytes preceding this file.
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  <==========

  at/dms/util/Utils.class

  offset of local header from start of archive:     19818 (00004D6Ah) bytes
  file system or operating system of origin:        MS-DOS, OS/2 or NT FAT
  version of encoding software:                     2.0
--

                                HIROSHI OOTA
                                [EMAIL PROTECTED]

test.zip

Reply via email to