Patch-ID# 113280-06 Keywords: security cpio valloc() acls leak file descriptor buffer allocate Synopsis: SunOS 5.9: patch /usr/bin/cpio Date: Sep/01/2004 Install Requirements: None Solaris Release: 9 SunOS Release: 5.9 Unbundled Product: Unbundled Release: Xref: This patch available for x86 as patch 115167 Topic: SunOS 5.9: patch /usr/bin/cpio Relevant Architectures: sparc BugId's fixed with this patch: 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 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 113280-05) 5006405 *cpio* cpio not passing ACL's correctly. (from 113280-04) 4894077 cpio sets wrong ACLs if the directory already exists. (from 113280-03) 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 113280-02) 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 113280-01) 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 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: Wednesday, September 1, 2004