Patch-ID# 110663-22 NOTE: *********************************************************************** READ THE TERMS OF THE AGREEMENT ("AGREEMENT") IN THE LEGAL_LICENSE.TXT FILE CAREFULLY BEFORE USING THIS SOFTWARE. BY USING THE SOFTWARE, YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS, PROMPTLY DESTROY THE UNUSED SOFTWARE. *********************************************************************** Keywords: unix98 ksh expand newline character pty ownership arithmetic Synopsis: SunOS 5.8_x86: ksh patch Date: Mar/15/2006 Install Requirements: Reboot after installation, an alternative may be in Special Install Instructions Solaris Release: 8_x86 SunOS Release: 5.8_x86 Unbundled Product: Unbundled Release: Xref: This patch available for SPARC as patch 110662 Topic: SunOS 5.8_x86: ksh patch Relevant Architectures: i386 BugId's fixed with this patch: 4140307 4223444 4286837 4356624 4372800 4379531 4402737 4407470 4407491 4422293 4446868 4457880 4457987 4473696 4498084 4524694 4702798 4750637 4753777 4786817 4790885 4801490 4804763 4902634 4902666 4927873 4985002 5010511 5056943 6208198 6261715 6277643 Changes incorporated in this version: 4402737 6277643 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: 4402737 ksh core dump if lines are over 30 6277643 ksh is insufficiently careful with alignment (from 110663-21) 6261715 With ksh patch 110662-18 "test $i -ge 0" is broken; thus loops don't terminate (from 110663-20) 6208198 ksh doesn't handle multibyte code when it is divided on boundary (from 110663-19) 4372800 ksh built-in read command hangs (from 110663-18) 4498084 test is unable to handle operands greater than 2G or 2147483647 (from 110663-17) 4407491 pfsh does not seem able to locate an executable in current directory 5056943 Fix for BugID 4753777 introduced new ksh bug (from 110663-16) 5010511 ksh erroneously fails when stdin is closed (from 110663-15) 4927873 ksh temporary file(/tmp/sh*) is not removed. (from 110663-14) 4985002 ksh regression by the fix for 4753777 (from 110663-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 110663-12) 4786817 ksh fix for bugid 4422293 4379531 was incomplete 4790885 ksh hangs with line editing and background process 4801490 ksh doesn't remove /tmp/sh* files (from 110663-11) 4750637 ksh script hangs because child process sleeps in write system call. (from 110663-10) 4407470 profile shell symbolic link processing sent wrong $0 (from 110663-09) 4702798 The fix for bugid 4223444 was incomplete. (from 110663-08) 4223444 using control Z under ksh does not work well with vi (from 110663-07) 4524694 ksh Race condition in i/o redirection and SIGCHLD (from 110663-06) 4473696 ksh octal const recognition in arithmetic expr is incompatible with old ksh (from 110663-05) 4140307 ksh does not know exit status of completed children 4457880 ksh fix for 4140307 is incomplete (from 110663-04) 4457987 ksh arithmetic expansion now evaluates 0 as octal instead of decimal (from 110663-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 110663-02) 4379531 UNIX98: ksh race condition with pty ownership in /usr/xpg4/bin/sh (from 110663-01) 4356624 UNIX98: ksh does not correctly expand strings with newline character in them 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: 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: 109325-08 (or greater) sh/jsh/rsh/pfsh patch README -- Last modified date: Wednesday, March 15, 2006