Patch-ID# 110662-26


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 unix98 ksh expand newline character pty ownership arithmetic
Synopsis: SunOS 5.8: ksh patch
Date: Apr/01/2011


Install Requirements: Reboot after installing this patch to activate the changes delivered. An alternative may be specified in the Special Install Instructions.

Solaris Release: 8

SunOS Release: 5.8

Unbundled Product:

Unbundled Release:

Xref: This patch available for x86 as patch 110663

Topic: SunOS 5.8: ksh patch

Relevant Architectures: sparc

Bugs fixed with this patch:

Sun CR # Bug #
414030714962654
422344414984233
423765214988487
428683715004945
430218715010761
430341715011250
435662415033137
437280015038942
437953115041281
440273715048991
440747015050424
440749115050435
442229315055300
444686815061038
445788015064236
445798715064264
447369615069521
449808415077613
452469415086524
470279815111875
475063715124748
475377715125727
478681715135883
479088515137077
480149015140845
480476315141952
490263415171546
490266615171556
492787315178481
498500215194059
501051115200447
505694315213882
620819815241010
626171515262394
626412115263279
627764315268646


Changes incorporated in this version: 4302187

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/alias
/usr/bin/bg
/usr/bin/cd
/usr/bin/command
/usr/bin/fc
/usr/bin/fg
/usr/bin/getopts
/usr/bin/hash
/usr/bin/jobs
/usr/bin/kill
/usr/bin/ksh
/usr/bin/pfksh
/usr/bin/read
/usr/bin/rksh
/usr/bin/test
/usr/bin/type
/usr/bin/ulimit
/usr/bin/umask
/usr/bin/unalias
/usr/bin/wait
/usr/xpg4/bin/alias
/usr/xpg4/bin/bg
/usr/xpg4/bin/cd
/usr/xpg4/bin/command
/usr/xpg4/bin/fc
/usr/xpg4/bin/fg
/usr/xpg4/bin/getopts
/usr/xpg4/bin/hash
/usr/xpg4/bin/jobs
/usr/xpg4/bin/kill
/usr/xpg4/bin/read
/usr/xpg4/bin/sh
/usr/xpg4/bin/test
/usr/xpg4/bin/type
/usr/xpg4/bin/ulimit
/usr/xpg4/bin/umask
/usr/xpg4/bin/unalias
/usr/xpg4/bin/wait

Problem Description:

4302187 rksh allows user to run commands with '/' in them, regression via 1262257
 
(from 110662-25)
 
4237652 ksh built-in wait command gives incorrect status for stopped and restarted jobs
 
(from 110662-24)
 
4303417 ksh script goes into infinite loop if containing invalid chars
 
(from 110662-23)
 
6264121 ksh: here-document (/tmp/sh* file) is unlinked too early when started in background
 
(from 110662-22)
 
4402737 ksh getting core dump if lines are over 30
6277643 ksh is insufficiently careful with alignment
 
(from 110662-21)
 
6261715 with ksh patch 110662-18 "test $i -ge 0" is broken; thus loops don't terminate
 
(from 110662-20)
 
6208198 ksh doesn't handle multibyte code when it is divided on boundary
 
(from 110662-19)
 
4372800 ksh built-in read command hangs
 
(from 110662-18)
 
4498084 test is unable to handle operands greater than 2G or 2147483647
 
(from 110662-17)
 
4407491 pfsh does not seem able to locate an executable in current directory
5056943 fix for BugId 4753777 introduced new ksh bug
 
(from 110662-16)
 
5010511 ksh erroneously fails when stdin is closed
 
(from 110662-15)
 
4927873 ksh temporary file(/tmp/sh*) is not removed
 
(from 110662-14)
 
4985002 ksh regression by the fix for 4753777
 
(from 110662-13)
 
4753777 ksh core dumped
4804763 ksh race condition in pipelined commands
4902634 ksh(1) dumped a core in a different place of BugId 4753777
4902666 increase of the number of file descriptors that ksh(1) can open
 
(from 110662-12)
 
4786817 ksh fix for BugId's 4422293 4379531 was incomplete
4790885 ksh hangs with line editing and background process
4801490 ksh doesn't remove /tmp/sh* files
 
(from 110662-11)
 
4750637 ksh script hangs because child process sleeps in write system call
 
(from 110662-10)
 
4407470 profile shell symbolic link processing sent wrong $0
 
(from 110662-09)
 
4702798 fix for BugId 4223444 was incomplete
 
(from 110662-08)
 
4223444 using control Z under ksh does not work well with vi
 
(from 110662-07)
 
4524694 ksh Race condition in i/o redirection and SIGCHLD
 
(from 110662-06)
 
4473696 ksh octal const recognition in arithmetic expr is incompatible with old ksh
 
(from 110662-05)
 
4140307 ksh does not know exit status of completed children
4457880 ksh fix for 4140307 is incomplete
 
(from 110662-04)
 
4457987 ksh arithmetic expansion now evaluates 0 as octal instead of decimal
 
(from 110662-03)
 
4286837 UNIX98: ksh arithmetic constant handling
4446868 ksh is failing to accept constants larger than 2G after 4286837 was fixed
4422293 ksh Application on ksh of root hangs by the job control
 
(from 110662-02)
 
4379531 UNIX98: ksh race condition with pty ownership in /usr/xpg4/bin/sh
 
(from 110662-01)
 
4356624 UNIX98: ksh does not correctly expand strings with newline character in them


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: To get the complete fix for BugId 4498084 (test is unable to
      handle operands greater than 2G or 2147483647), please also
      install the following patch:
 
      109324-08 (or greater)  sh/jsh/rsh/pfsh patch


README -- Last modified date: Friday, November 9, 2012