Bug 4208 - cpio infinite loop; cpio as root incorrectly sets file permissions
Summary: cpio infinite loop; cpio as root incorrectly sets file permissions
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: cpio (Show other bugs)
(Show other bugs)
Version: 6.0
Hardware: i386 Linux
medium
high
Target Milestone: ---
Assignee: bero
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-07-27 00:44 UTC by bugzilla
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-08-31 17:22:03 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description bugzilla 1999-07-27 00:44:24 UTC
GNU cpio 2.4.2 has a long-standing bug in it that
causes infinite loops when unpacking input files
with hard-linked empty files.

It also has a security problem in that it sets the
permissions on symlink targets instead of symlinks
when there is no lchown() system call.

Comment 1 Jeff Johnson 1999-08-31 17:22:59 UTC
Fixed in cpio-2.4.2-13. Thanks for the patch.


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