OBSOLETE Patch-ID# 121005-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: 138254-01 SunOS 5.10_x86: 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_x86

SunOS Release: 5.10_x86

Unbundled Product:

Unbundled Release:

Xref: This patch available for SPARC as patch 121004

Topic: SunOS 5.10_x86: sh patch

Relevant Architectures: i386

Bugs fixed with this patch:

Sun CR # Bug #

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: 138254-01

Files included with this patch:


Problem Description:

6636947 /bin/sh dumps core in rmfunctmp when function with heredoc is unset
(from 121005-03)
6471812 Update 3 zones upgrade is failing with SEGV in /bin/sh from memcpy
(from 121005-02)
6388209 Bourne shell's own internal malloc() causes SEGV for some 64bit library routines
(from 121005-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 
         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 
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

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