BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004334 [BusyBox] Other major always 07-25-08 12:08 09-20-08 18:02
Reporter MilkaJinka View Status public  
Assigned To BusyBox
Priority normal Resolution fixed  
Status closed   Product Version 1.1.x
Summary 0004334: unzip: error processing ODF files
Description - Take a random ODF file, which are supposed to be a zip archive.

- Each time you'll try to unzip it you'll get an error:
unzip foo.odt
Archive: foo.odt
  inflating: mimetype
  inflating: meta.xml
unzip: inflate error

- The same if you try to extract only one file:
unzip -p foo.odt content.xml
unzip: invalid zip magic 4ECF928D
Additional Information This problem happens with all the ODF files I've tried to unzip. "Regular" unzip handles them just fine, the files are not corrupted. Tried with 1.10.x and 1.11.x
Attached Files  5.patch [^] (746 bytes) 07-26-08 09:43
 TestoBanale.odt [^] (6,948 bytes) 09-20-08 15:30

- Relationships

- Notes
(0010034)
vda
07-26-08 09:46

Thank you for not providing a test file to unzip.

As of now, I can only propose 5.patch which makes zip to be somewhat less cryptic:

# ./busybox unzip TestoBanale.odt
Archive: TestoBanale.odt
  inflating: mimetype
   creating: Configurations2/
   creating: Pictures/
  inflating: content.xml
unzip: zip flags 8 and 1 are not supported

In this case, we have flag 8 set in content.xml's zip header, and busybox unzip has no code to deal with that.
 
(0011774)
vda
09-20-08 18:02

Fixed in rev. 23448
 

- Issue History
Date Modified Username Field Change
07-25-08 12:08 MilkaJinka New Issue
07-25-08 12:08 MilkaJinka Status new => assigned
07-25-08 12:08 MilkaJinka Assigned To  => BusyBox
07-25-08 12:10 MilkaJinka Issue Monitored: MilkaJinka
07-26-08 09:43 vda File Added: 5.patch
07-26-08 09:46 vda Note Added: 0010034
09-20-08 15:30 vda File Added: TestoBanale.odt
09-20-08 18:02 vda Status assigned => closed
09-20-08 18:02 vda Note Added: 0011774
09-20-08 18:02 vda Resolution open => fixed
09-20-08 18:02 vda Fixed in Version  => svn


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker