[BusyBox 0000693]: unzip can't unzip small files

bugs at busybox.net bugs at busybox.net
Mon Feb 6 17:02:12 UTC 2006


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=693 
====================================================================== 
Reported By:                bcg
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   693
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             02-06-2006 09:02 PST
Last Modified:              02-06-2006 09:02 PST
====================================================================== 
Summary:                    unzip can't unzip small files
Description: 
Hello,

If I do following with Info-ZIP:

echo foo > foo; zip -9 foo.zip foo

...I get foo.zip (142 bytes) which can't be unzipped with busybox 1.1.0:

[root at ysi2 /tmp]$ unzip foo.zip
Archive:  foo.zip
  inflating: foo
unzip: Cannot complete extraction
[root at ysi2 /tmp]$

Attached patch will fix the problem. Is it the correct way to do it? I'll
add this to the bug tracking system. 
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-06-06 09:02  bcg            New Issue                                    
02-06-06 09:02  bcg            Status                   new => assigned     
02-06-06 09:02  bcg            Assigned To               => BusyBox         
02-06-06 09:02  bcg            File Added: unzip.patch                      
======================================================================




More information about the busybox-cvs mailing list