Bug 740012
Summary: | unzip creates a link instead of extracting the file for some .zip archives | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Scott Eikenberry <scotte> | ||||
Component: | unzip | Assignee: | Petr Stodulka <pstodulk> | ||||
Status: | CLOSED ERRATA | QA Contact: | Robin Hack <rhack> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.4 | CC: | ovasik, psklenar, rhack, scotte | ||||
Target Milestone: | rc | Keywords: | Patch | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | unzip-6.0-3.el6 | Doc Type: | Bug Fix | ||||
Doc Text: |
Cause: There was missing initialisation of symlink flag in information about entry (file).
Consequence: When archive contains more then 16k entries and one of the 16k entries is reused & symlink is presented, some another entries can be presented wrong as symlinks instead of regular files.
Fix: Added missing initialisation of symlink flag.
Result: Regular files are not evaluated as symlinks anymore.
|
Story Points: | --- | ||||
Clone Of: | |||||||
: | 1276746 (view as bug list) | Environment: | |||||
Last Closed: | 2015-12-15 16:36:27 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1254457 | ||||||
Attachments: |
|
Description
Scott Eikenberry
2011-09-20 17:06:26 UTC
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. If you would like it considered as an exception in the current release, please ask your support representative. This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate, in the next release of Red Hat Enterprise Linux. Created attachment 814455 [details] Undertaken patch http://article.gmane.org/gmane.comp.version-control.git/181173 For reproduce: wget https://github.com/mono/mono/archive/master.zip unzip master.zip [....] finishing deferred symbolic links: mono-master/mcs/class/System.Configuration/System.Configuration_test_net_2_0.dll.config -> Test/App.config mono-master/mcs/class/System.Configuration/System.Configuration_test_net_4_0.dll.config -> Test/App.config mono-master/mcs/class/System.Configuration/System.Configuration_test_net_4_5.dll.config -> Test/App.config mono-master/mcs/class/System.Web/Test/mainsoft/MainsoftWebApp/System_Web_UI_WebControls/DataGridColumn/DataGridColumn_HeaderText.aspx -> <%@ Page Language="c#" AutoEventWireup="false" [... more cruft from the contents of the file ...] --------------------------------------- And errmsg "Filename too long". Added patch in attachment. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2648.html |