[BusyBox 0004334]: unzip: error processing ODF files

bugs at busybox.net bugs at busybox.net
Sat Jul 26 16:46:22 UTC 2008


A NOTE has been added to this issue. 
====================================================================== 
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:                     assigned
====================================================================== 
Date Submitted:             07-25-2008 12:08 PDT
Last Modified:              07-26-2008 09:46 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. 

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




More information about the busybox-cvs mailing list