Patch-ID# 115167-05
Keywords: security cpio -itv valloc() fd leak memory buffer acls
Synopsis: SunOS 5.9_x86: usr/bin/cpio Patch
Date: Sep/27/2004


Install Requirements: None                      
                      
Solaris Release: 9_x86

SunOS Release: 5.9_x86

Unbundled Product: 

Unbundled Release: 

Xref: This patch available for SPARC as patch 113280

Topic: SunOS 5.9_x86: usr/bin/cpio Patch

Relevant Architectures: i386

BugId's fixed with this patch: 4711504 4738687 4740813 4768749 4771017 4789757 4790357 4792482 4802626 4803461 4810827 4844489 4879536 4894077 4911399 4971255 5006405 5021475

Changes incorporated in this version: 4802626 4879536 4911399 4971255 5021475

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 

Files included with this patch: 

/usr/bin/cpio

Problem Description:

4802626 cpio -H ustar does not handle spaces correctly in file and directory
4879536 *cpio* returns 0 exit status with 256 errors
4911399 Patch 112097-04 breaks two GABI cpio tests
4971255 cpio gets extremely confused by namefs mounts
5021475 *cpio* restores unnecessary directories with odc format
 
(from 115167-04)
 
5006405 *cpio* cpio not passing ACL's correctly.
 
(from 115167-03)
 
4894077 cpio sets wrong ACLs if the directory already exists.
 
(from 115167-02)
 
4789757 cpio: performance degradation: 108414-03 is very slower than 108414-01
4803461 cpio -i restores unnecessary directories in Solaris 9
4810827 *cpio* -p@ fails with too many open files.
4844489 File Descriptor leak in *cpio* for Solaris 9
 
(from 115167-01)
 
4711504 *cpio* -itv output broken
4738687 *cpio* assumes uninitialized data is zero
4740813 *cpio* has a valloc()-equivalent function, forcing -lmapmalloc
4768749 *cpio* reports wrong count of transferred blocks
4771017 *cpio* dumps a core by -Htar option on Solaris 8 and Solaris 9
4790357 *cpio* allocates a buffer of the wrong size
4792482 *cpio* failure to get memory for acls during -o should be fatal

Patch Installation Instructions:
--------------------------------
 
For Solaris 2.0-2.6 releases, refer to the Install.info file and/or
the README within the patch for instructions on using the generic
'installpatch' and 'backoutpatch' scripts provided with each patch.
 
For Solaris 7-9 releases, refer to the man pages for instructions
on using 'patchadd' and 'patchrm' scripts provided with Solaris.
Any other special or non-generic installation instructions should be
described below as special instructions.  The following example
installs a patch to a standalone machine:
 
       example# patchadd /var/spool/patch/104945-02
 
The following example removes a patch from a standalone system:
 
       example# patchrm 104945-02
 
For additional examples please see the appropriate man pages.

Special Install Instructions:
-----------------------------
 
None.

README -- Last modified date:  Monday, September 27, 2004

