Bug 140263 - FC3 unzip fails for certain files
FC3 unzip fails for certain files
Status: CLOSED DUPLICATE of bug 134073
Product: Fedora
Classification: Fedora
Component: unzip (Show other bugs)
3
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Lon Hohberger
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-11-21 16:13 EST by eparsons
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-02-21 14:07:12 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
bin-latex.i386-linux.zip (396 bytes, application/octet-stream)
2004-11-21 16:14 EST, eparsons
no flags Details

  None (edit)
Description eparsons 2004-11-21 16:13:04 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041111 Firefox/1.0

Description of problem:
Unzip bundled with FC3 seems to break on certain zip files.  The
problem was noted while installing TeX Live, but probably can be
reproduced elsewhere.

Donwloading original unzip sources and compiling makes the problem go
away.

One of the files in the TeX Live distribution that demonstrates the
problem is "bin-latex.i386-linux.zip".  When running /usr/bin/unzip
(rpm unzip-5.51-4), one gets the following output:
$ unzip bin-latex.i386-linux.zip
Archive:  bin-latex.i386-linux.zip
    linking: bin/i386-linux/latex    warning:  symbolic link
(bin/i386-linux/latex) failed
error:  zipfile probably corrupt (segmentation violation)

When running a natively compiled version of unzip, one gets the
correct behavior:
$ unzip-5.51/unzip bin-latex.i386-linux.zip
Archive:  bin-latex.i386-linux.zip
    linking: bin/i386-linux/latex    -> pdfetex
  inflating: texmf/lists/bin-latex.i386-linux
finishing deferred symbolic links:
  bin/i386-linux/latex   -> pdfetex




Version-Release number of selected component (if applicable):
unzip-5.51-4

How reproducible:
Always

Steps to Reproduce:
1. run unzip on the specified file
2.
3.
    

Actual Results:  $ unzip bin-latex.i386-linux.zip
Archive:  bin-latex.i386-linux.zip
    linking: bin/i386-linux/latex    warning:  symbolic link
(bin/i386-linux/latex) failed
error:  zipfile probably corrupt (segmentation violation)

Expected Results:  $ unzip-5.51/unzip bin-latex.i386-linux.zip
Archive:  bin-latex.i386-linux.zip
    linking: bin/i386-linux/latex    -> pdfetex
  inflating: texmf/lists/bin-latex.i386-linux
finishing deferred symbolic links:
  bin/i386-linux/latex   -> pdfetex

Additional info:
Comment 1 eparsons 2004-11-21 16:15:00 EST
Created attachment 107144 [details]
bin-latex.i386-linux.zip

The attached file can be used to reproduce the problem
Comment 2 Lon Hohberger 2004-11-22 14:37:59 EST
Excellent testcase.

*** This bug has been marked as a duplicate of 134073 ***
Comment 3 Red Hat Bugzilla 2006-02-21 14:07:12 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.