Patch-ID# 115167-11


Download this patch from My Oracle Support

Your use of the firmware, software and any other materials contained in this update is subject to My Oracle Support Terms of Use, which may be viewed at My Oracle Support.
For further information on patching best practices and resources, please see the following links:
Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.

Keywords: security cpio -itv valloc() fd leak memory buffer acls ignore system attributes
Synopsis: SunOS 5.9_x86: cpio Patch
Date: Apr/04/2013


Install Requirements: NA

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: cpio Patch

Relevant Architectures: i386

Bugs fixed with this patch:

Sun CR # Bug #
689468115598827
416362014968469
471150415114133
473868715121223
474081315121869
476874915130323
477101715131023
478975715136718
479035715136887
479248215137580
480262615141238
480346115141540
481082715143923
484448915154491
487953615164469
489407715168796
491139915174005
497125515190265
500640515199106
502147515203566
618951015234801
626841715265062
650098415365143
662830715437657
700907215688971


Changes incorporated in this version: 15598827

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:

15598827 file utilities should ignore S11+ system attributes
 
(from 115167-10)
 
7009072 errors from cpio if extended file attributes exist on files with more than one link
 
(from 115167-09)
 
4163620 cpio reports as an error an attempt to archive a named socket
6628307 cpio named socket is impossible file type with -t
 
(from 115167-08)
 
6189510 cpio -idm can create symbolic links to incorrect targets
 
(from 115167-07)
 
6268417 cpio archiver is not handling >2gb files in -oc mode-ASCII character form
 
(from 115167-06)
 
6500984 cpio issue with directory creation
 
(from 115167-05)
 
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 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:
--------------------------------
 
Please refer to the man pages for instructions on using 'patchadd'
and 'patchrm' commands provided with Solaris.
 
The following example installs a patch to a standalone machine:
 
       example# patchadd /var/spool/patch/123456-07
 
The following example removes a patch from a standalone system:
 
       example# patchrm 123456-07
 
For additional examples please see the appropriate man pages. Any
other special or non-generic installation instructions should be
described below as special instructions.


Special Install Instructions:
-----------------------------
 
NOTE 1:	 To get the complete fix for 15598827 (file utilities should ignore
	 S11+ system attributes), please also install the following patches:
 
	 114330-05 (or greater)	 pax Patch
	 115337-06 (or greater)	 tar Patch
	 116246-02 (or greater)	 compress Patch
	 118587-03 (or greater)	 cp/ln/mv & XPG4 cp/ln/mv Patch
	 149830-01 (or greater)	 pack Patch
 
	 The fix for 15598827 just changes the affected commands in the
	 same way.  Applying each patch will completely fix 15598827 for
	 those commands that it covers.


README -- Last modified date: Thursday, April 4, 2013