[BusyBox 0004334]: unzip: error processing ODF files

bugs at busybox.net bugs at busybox.net
Sun Sep 21 01:02:26 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=4334 
====================================================================== 
Reported By:                MilkaJinka
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   4334
Category:                   Other
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             07-25-2008 12:08 PDT
Last Modified:              09-20-2008 18:02 PDT
====================================================================== 
Summary:                    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
====================================================================== 

---------------------------------------------------------------------- 
 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. 

---------------------------------------------------------------------- 
 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                          
======================================================================




More information about the busybox-cvs mailing list