Patch-ID# 120830-06


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 vi ex xpg4 xpg6 unset shell escape
Synopsis: SunOS 5.10: vi and ex patch
Date: May/15/2008


Install Requirements: NA

Solaris Release: 10

SunOS Release: 5.10

Unbundled Product:

Unbundled Release:

Xref: This patch available for x86 as patch 120831

Topic: SunOS 5.10: vi and ex patch

Relevant Architectures: sparc

Bugs fixed with this patch:

Sun CR # Bug #
620842215241076
621973615245419
621975415245429
632076915285843
632077415285844
632077815285846
632078115285849
632078315285854
640999515323962
645923815345208
648199015355602
649193115360471
651056015370669


Changes incorporated in this version: 6409995 6459238 6481990 6491931 6510560

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/ctags
/usr/bin/edit
/usr/bin/ex
/usr/bin/vedit
/usr/bin/vi
/usr/bin/view
/usr/lib/expreserve
/usr/lib/exrecover
/usr/xpg4/bin/ctags
/usr/xpg4/bin/edit
/usr/xpg4/bin/ex
/usr/xpg4/bin/vedit
/usr/xpg4/bin/vi
/usr/xpg4/bin/view
/usr/xpg6/bin/edit
/usr/xpg6/bin/ex
/usr/xpg6/bin/vedit
/usr/xpg6/bin/vi
/usr/xpg6/bin/view

Problem Description:

6409995 vi causes core dump if .exrc is world or group writable; vi_01.sh in VSC dumps core
6459238 UNIX98/UNIX03: *vsc* vi 'C' and 'S' commands are failing in suite version 5.2.8
6481990 UNIX98/UNIX03: *vsc* vi '<count>r<return>' does not insert enough new lines
6491931 UNIX03/UNIX98: *vsc* vi insert mode alters auto-indent characters
6510560 vi(1) and ex(1) tags should only allow text searching
 
(from 120830-05)
 
6320781 UNIX03: *vsc* modified assertion vi_03.ex 173 and 176 fail, [count]a should 
        repeat input up to esc
6320783 UNIX03: *vsc* modified assertion vi_04.ex 225 and 228 fail, [count]i should 
        repeat input up to esc
6320778 UNIX03: *vsc* modified assertion vi_02.ex 139 fails, [count]. not working
 
(from 120830-04)
 
6320774 UNIX03 *vsc*  modified assertion ex_08.ex 484 fails
 
(from 120830-03)
 
6320769 UNIX03 *vsc* modified assertions ex_01.ex 17 and 19 fail
 
(from 120830-02)
 
6219754 UNIX98/UNIX03: *vsc* /usr/xpg4/bin/ex :! must accept multiple lines if \<cr> terminated
 
(from 120830-01)
 
6208422 UNIX98/UNIX03: *vsc* new vi assertion, #33, fails
6219736 UNIX98/UNIX03: *vsc* /usr/xpg4/bin/ex shouldn't error when SHELL=""


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"


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