OBSOLETE Patch-ID# 121004-04


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 sh shell
Synopsis: Obsoleted by: 138253-01 SunOS 5.10: sh patch
Date: May/23/2008


Install Requirements: After installing this patch on an active boot environment, the system will be in a potentially inconsistent state until a reboot is performed. Unless
otherwise specified in the Special Install Instructions below, it is normally safe to apply further patches prior to initiating the reboot due to the relatively small footprint of the patch utilities. Normal operations must not be resumed until after the reboot is performed.
Use Single User Mode (run level S) when installing this patch on an active boot environment. An alternative may be specified in the Special Install Instructions.

Solaris Release: 10

SunOS Release: 5.10

Unbundled Product:

Unbundled Release:

Xref: This patch available for x86 as patch 121005

Topic: SunOS 5.10: sh patch

Relevant Architectures: sparc

Bugs fixed with this patch:

Sun CR # Bug #
627763615268643
638820915314082
647181215351082
663694715442877


Changes incorporated in this version: 6636947

Patches accumulated and obsoleted by this patch:

Patches which conflict with this patch:

Patches required with this patch:

Obsoleted by: 138253-01

Files included with this patch:

/sbin/sh

Problem Description:

6636947 /bin/sh dumps core in rmfunctmp when function with heredoc is unset
 
(from 121004-03)
 
6471812 Update 3 zones upgrade is failing with SEGV in /bin/sh from memcpy
 
(from 121004-02)
 
6388209 Bourne shell's own internal malloc() causes SEGV for some 64bit library routines
 
(from 121004-01)
 
6277636 sh can crash if it creates too many temporary files


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:
-----------------------------
 
NOTE 1:  Before installing this patch, please be sure to install the latest
         patch utilities patches for your OS. This list of patches is defined
         at
         http://sunsolve.sun.com
 
         Please use the pull down list which appears after the text:
         "Latest Patch Update: To ensure the correct functioning of the
         patching utilities on your system, stay up to date on the following
         patches:"
 
NOTE 2:  Although this patch does not require a reboot of the system, the
         root user who is installing the patch will likely be using the
         shell /sbin/sh or one of its links, such as /usr/bin/sh.  If so,
         the user should first invoke a different shell (e.g., csh, ksh)
         before running patchadd, since this patch will replace the existing
         /sbin/sh.


README -- Last modified date: Saturday, November 10, 2012