Patch-ID# 112098-07

NOTE:
***********************************************************************
READ THE TERMS OF THE AGREEMENT ("AGREEMENT") IN THE LEGAL_LICENSE.TXT
FILE CAREFULLY BEFORE USING THIS SOFTWARE. BY USING THE SOFTWARE, YOU
AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE
TERMS, PROMPTLY DESTROY THE UNUSED SOFTWARE.
***********************************************************************

Keywords: security cpio links performance extract ustar valloc core buffer
Synopsis: SunOS 5.8_x86: /usr/bin/cpio patch
Date: Jul/31/2007


Install Requirements: NA                      
                      
Solaris Release: 8_x86

SunOS Release: 5.8_x86

Unbundled Product: 

Unbundled Release: 

Xref: This patch available for SPARC as patch 112097

Topic: SunOS 5.8_x86: /usr/bin/cpio patch

Relevant Architectures: i386

BugId's fixed with this patch: 4055701 4302144 4309518 4318063 4328540 4337099 4339368 4358686 4358965 4382185 4480445 4481433 4497628 4503943 4506165 4508105 4508436 4516728 4519794 4626967 4646589 4661824 4674849 4677773 4679533 4679805 4688928 4711504 4738687 4740813 4768749 4771017 4789757 4790357 4792482 4802626 4803461 4810827 4844489 4879536 4894077 4911399 4971255 5006405 5021475 6500984

Changes incorporated in this version: 6500984

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:

6500984 cpio issue with directory creation
 
(from 112098-06)
 
4911399 patch 112097-04 breaks two GABI cpio tests
4802626 cpio -H ustar does not handle spaces correctly in file and directory
4879536 cpio returns 0 exit status with 256 errors
4971255 cpio gets extremely confused by namefs mounts
5006405 cpio not passing ACL's correctly
5021475 cpio restores unnecessary directories with odc format
 
(from 112098-05)
 
4894077 cpio sets wrong ACLs if the directory already exists
 
(from 112098-04)
 
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 112098-03)
 
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
 
(from 112098-02)
 
4626967 cpio: potential performance problem
4337099 cpio -p should use a bigger block size
4519794 cpio malfunctions while dealing with symlinks when disk is full
4503943 cpio: odd filenames displayed in failed cpio extraction output
4358686 cpio -ic prints wrong file name when reporting an error
4508105 cpio source compatibility
4516728 cpio: GABI - cpio command fails to extract file from older archive
4508436 cpio core dump on x86 by running flarcreate
4506165 cpio dumps core
4497628 trailing slashes in directories produces warnings
4481433 cpio: need to reinstate earlier bugfix with appropriate fixes
4318063 cpio -pL makes wrong hard links
4480445 cpio: add README file to the archiver source directories
4358965 cpio gives errors when using USTAR and TAR header formats with directories
4646589 cpio -Hodc corrupts data when different inodes are stored as the same
4661824 cpio filename preprocessing could be more efficient
4679533 cpio backup performance halved after installing patchid 108415-02 or 108414-02
4674849 cpio does not report -t and -V as mutually exclusive
4677773 cpio: the maximum length of a file pathname for -p appears to be 256
4679805 cpio unlinkat needs refinement
4688928 cpio: uninitialized variable
4055701 cpio honors "-m" even on "-o"
4302144 cpio does not preserve ACL correctly
4309518 cpio hangs when size of file being backed at that instant changes (reduces)
4328540 cpio tries to chmod files it reads into archives
4339368 cpio -m and -a are NOT mutually exclusive
4382185 Solaris 8 Update 3 Beta - cpio error (errno=2)
 
(from 112098-01)
 
4318063 cpio -pL makes wrong hard links

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-10 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:  Tuesday, July 31, 2007

