Bug 4208

Summary: cpio infinite loop; cpio as root incorrectly sets file permissions
Product: [Retired] Red Hat Linux Reporter: bugzilla
Component: cpioAssignee: bero
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
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: --- Target Upstream Version:

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.