 |
≫ |
|
|
 |
パッチ名: PHCO_35773
パッチ摘要: s700_800 11.23 vi(1)/ex(1)累積パッチ
作成日: 06/12/07
公開日: 07/01/23
ハードウェアプラットフォームおよびOSリリース:
s700: 11.23
s800: 11.23
現象:
PHCO_35773:
(SR:8606431258 CR:JAGaf90700)
空のファイルを指定すると、"m"(move)コマンドの実行時にex(1)が異常終了し
ます。
問題点の説明:
PHCO_35773:
(SR:8606431258 CR:JAGaf90700)
空のファイルを指定すると、"m"(move)コマンドの実行時にex(1)がセグメンテ
ーションフォルトで異常終了していました。
問題の再現手順:
$ex
:m
Memory fault(coredump).
解決方法:
バッファが空でも、"m"(move)コマンドの実行時に異常終了しないようにex(1)
を修正しました。
-----------------------------------------------------------------------------
Patch Name: PHCO_35773
Patch Description: s700_800 11.23 vi(1)/ex(1) cumulative patch
Creation Date: 06/12/07
Post Date: 07/01/23
Hardware Platforms - OS Releases:
s700: 11.23
s800: 11.23
Products: N/A
Filesets:
TextEditors.EDITORS2,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP
TextEditors.EDITORS2,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP
Automatic Reboot?: No
Status: General Release
Critical:
Yes
PHCO_35773: ABORT
Category Tags:
defect_repair general_release critical halts_system
Path Name: /hp-ux_patches/s700_800/11.X/PHCO_35773
Symptoms:
PHCO_35773:
( SR:8606431258 CR:JAGaf90700 )
ex(1) aborts when the 'm' (move) command is executed with an
empty file.
PHCO_33595:
( SR:8606410621 CR:JAGaf70503 )
ex(1)/vi(1) incorrectly handles the system command (!),
when SHELL variable is set to null string.
Defect Description:
PHCO_35773:
( SR:8606431258 CR:JAGaf90700 )
A segmentation fault occurs when the 'm' (move) command is
executed in ex(1) with an empty file.
Problem Reproduction:
$ex
:m
Memory fault(coredump).
Resolution:
ex(1) has been modified such that it does not abort when
"m" (move) command is executed in an empty buffer.
PHCO_33595:
( SR:8606410621 CR:JAGaf70503 )
ex(1)/vi(1) incorrectly exiting, while executing the system
command (!), when SHELL variable is set to null string.
Problem Reproduction:
# export SHELL=""
# export UNIX95=1
# vi
Now execute :!echo hi
Result: Fails with error message
sh: -c: not found
# export UNIX95=0
# vi
Now execute :!echo hi
Result: Fails with error message
: No !
Resolution:
ex(1)/vi(1) has been modified to work correctly as per the
standards.
Enhancement:
No
SR:
8606431258 8606410621
Patch Files:
TextEditors.EDITORS2,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
/usr/bin/ex
/usr/bin/e
/usr/bin/edit
/usr/bin/vedit
/usr/bin/vi
/usr/bin/view
TextEditors.EDITORS2,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
/usr/bin/ex
/usr/bin/e
/usr/bin/edit
/usr/bin/vedit
/usr/bin/vi
/usr/bin/view
what(1) Output:
TextEditors.EDITORS2,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
/usr/bin/ex:
$ B.11.23 Jul 16 2004 13:19:29 $
ex.c $Date: 2005/09/28 00:29:59 $Revision: r11.23/1
PATCH_11.23 (PHCO_33595)
ex_cmdsub.c $Date: 2006/11/20 14:41:53 $Revision: r1
1.23/1 PATCH_11.23 (PHCO_35773)
ex_data.c $Date: 2005/09/28 00:31:43 $Revision: r11.
23/1 PATCH_11.23 (PHCO_33595)
$Revision: @(#) ex R11.23_BL2006_1207_2 PATCH_11.23
PHCO_35773
/usr/bin/e:
$ B.11.23 Jul 16 2004 13:19:29 $
ex.c $Date: 2005/09/28 00:29:59 $Revision: r11.23/1
PATCH_11.23 (PHCO_33595)
ex_cmdsub.c $Date: 2006/11/20 14:41:53 $Revision: r1
1.23/1 PATCH_11.23 (PHCO_35773)
ex_data.c $Date: 2005/09/28 00:31:43 $Revision: r11.
23/1 PATCH_11.23 (PHCO_33595)
$Revision: @(#) ex R11.23_BL2006_1207_2 PATCH_11.23
PHCO_35773
/usr/bin/edit:
$ B.11.23 Jul 16 2004 13:19:29 $
ex.c $Date: 2005/09/28 00:29:59 $Revision: r11.23/1
PATCH_11.23 (PHCO_33595)
ex_cmdsub.c $Date: 2006/11/20 14:41:53 $Revision: r1
1.23/1 PATCH_11.23 (PHCO_35773)
ex_data.c $Date: 2005/09/28 00:31:43 $Revision: r11.
23/1 PATCH_11.23 (PHCO_33595)
$Revision: @(#) ex R11.23_BL2006_1207_2 PATCH_11.23
PHCO_35773
/usr/bin/vedit:
$ B.11.23 Jul 16 2004 13:19:29 $
ex.c $Date: 2005/09/28 00:29:59 $Revision: r11.23/1
PATCH_11.23 (PHCO_33595)
ex_cmdsub.c $Date: 2006/11/20 14:41:53 $Revision: r1
1.23/1 PATCH_11.23 (PHCO_35773)
ex_data.c $Date: 2005/09/28 00:31:43 $Revision: r11.
23/1 PATCH_11.23 (PHCO_33595)
$Revision: @(#) ex R11.23_BL2006_1207_2 PATCH_11.23
PHCO_35773
/usr/bin/vi:
$ B.11.23 Jul 16 2004 13:19:29 $
ex.c $Date: 2005/09/28 00:29:59 $Revision: r11.23/1
PATCH_11.23 (PHCO_33595)
ex_cmdsub.c $Date: 2006/11/20 14:41:53 $Revision: r1
1.23/1 PATCH_11.23 (PHCO_35773)
ex_data.c $Date: 2005/09/28 00:31:43 $Revision: r11.
23/1 PATCH_11.23 (PHCO_33595)
$Revision: @(#) ex R11.23_BL2006_1207_2 PATCH_11.23
PHCO_35773
/usr/bin/view:
$ B.11.23 Jul 16 2004 13:19:29 $
ex.c $Date: 2005/09/28 00:29:59 $Revision: r11.23/1
PATCH_11.23 (PHCO_33595)
ex_cmdsub.c $Date: 2006/11/20 14:41:53 $Revision: r1
1.23/1 PATCH_11.23 (PHCO_35773)
ex_data.c $Date: 2005/09/28 00:31:43 $Revision: r11.
23/1 PATCH_11.23 (PHCO_33595)
$Revision: @(#) ex R11.23_BL2006_1207_2 PATCH_11.23
PHCO_35773
TextEditors.EDITORS2,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
/usr/bin/ex:
$Revision: 92453-07 linker linker crt0.o B.11.16.01
030415 $
ex.c $Date: 2005/09/28 00:29:59 $Revision: r11.23/1
PATCH_11.23 (PHCO_33595)
ex_cmdsub.c $Date: 2006/11/20 14:41:53 $Revision: r1
1.23/1 PATCH_11.23 (PHCO_35773)
ex_data.c $Date: 2005/09/28 00:31:43 $Revision: r11.
23/1 PATCH_11.23 (PHCO_33595)
$Revision: @(#) ex R11.23_BL2006_1207_2 PATCH_11.23
PHCO_35773
$ B.11.23 Dec 2 2004 03:59:23 $
/usr/bin/e:
$Revision: 92453-07 linker linker crt0.o B.11.16.01
030415 $
ex.c $Date: 2005/09/28 00:29:59 $Revision: r11.23/1
PATCH_11.23 (PHCO_33595)
ex_cmdsub.c $Date: 2006/11/20 14:41:53 $Revision: r1
1.23/1 PATCH_11.23 (PHCO_35773)
ex_data.c $Date: 2005/09/28 00:31:43 $Revision: r11.
23/1 PATCH_11.23 (PHCO_33595)
$Revision: @(#) ex R11.23_BL2006_1207_2 PATCH_11.23
PHCO_35773
$ B.11.23 Dec 2 2004 03:59:23 $
/usr/bin/edit:
$Revision: 92453-07 linker linker crt0.o B.11.16.01
030415 $
ex.c $Date: 2005/09/28 00:29:59 $Revision: r11.23/1
PATCH_11.23 (PHCO_33595)
ex_cmdsub.c $Date: 2006/11/20 14:41:53 $Revision: r1
1.23/1 PATCH_11.23 (PHCO_35773)
ex_data.c $Date: 2005/09/28 00:31:43 $Revision: r11.
23/1 PATCH_11.23 (PHCO_33595)
$Revision: @(#) ex R11.23_BL2006_1207_2 PATCH_11.23
PHCO_35773
$ B.11.23 Dec 2 2004 03:59:23 $
/usr/bin/vedit:
$Revision: 92453-07 linker linker crt0.o B.11.16.01
030415 $
ex.c $Date: 2005/09/28 00:29:59 $Revision: r11.23/1
PATCH_11.23 (PHCO_33595)
ex_cmdsub.c $Date: 2006/11/20 14:41:53 $Revision: r1
1.23/1 PATCH_11.23 (PHCO_35773)
ex_data.c $Date: 2005/09/28 00:31:43 $Revision: r11.
23/1 PATCH_11.23 (PHCO_33595)
$Revision: @(#) ex R11.23_BL2006_1207_2 PATCH_11.23
PHCO_35773
$ B.11.23 Dec 2 2004 03:59:23 $
/usr/bin/vi:
$Revision: 92453-07 linker linker crt0.o B.11.16.01
030415 $
ex.c $Date: 2005/09/28 00:29:59 $Revision: r11.23/1
PATCH_11.23 (PHCO_33595)
ex_cmdsub.c $Date: 2006/11/20 14:41:53 $Revision: r1
1.23/1 PATCH_11.23 (PHCO_35773)
ex_data.c $Date: 2005/09/28 00:31:43 $Revision: r11.
23/1 PATCH_11.23 (PHCO_33595)
$Revision: @(#) ex R11.23_BL2006_1207_2 PATCH_11.23
PHCO_35773
$ B.11.23 Dec 2 2004 03:59:23 $
/usr/bin/view:
$Revision: 92453-07 linker linker crt0.o B.11.16.01
030415 $
ex.c $Date: 2005/09/28 00:29:59 $Revision: r11.23/1
PATCH_11.23 (PHCO_33595)
ex_cmdsub.c $Date: 2006/11/20 14:41:53 $Revision: r1
1.23/1 PATCH_11.23 (PHCO_35773)
ex_data.c $Date: 2005/09/28 00:31:43 $Revision: r11.
23/1 PATCH_11.23 (PHCO_33595)
$Revision: @(#) ex R11.23_BL2006_1207_2 PATCH_11.23
PHCO_35773
$ B.11.23 Dec 2 2004 03:59:23 $
cksum(1) Output:
TextEditors.EDITORS2,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
36422552 605280 /usr/bin/ex
36422552 605280 /usr/bin/e
36422552 605280 /usr/bin/edit
36422552 605280 /usr/bin/vedit
36422552 605280 /usr/bin/vi
36422552 605280 /usr/bin/view
TextEditors.EDITORS2,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
3799979623 327680 /usr/bin/ex
3799979623 327680 /usr/bin/e
3799979623 327680 /usr/bin/edit
3799979623 327680 /usr/bin/vedit
3799979623 327680 /usr/bin/vi
3799979623 327680 /usr/bin/view
Patch Conflicts: None
Patch Dependencies: None
Hardware Dependencies: None
Other Dependencies: None
Supersedes:
PHCO_33595
Equivalent Patches: None
Patch Package Size: 460 KBytes
Installation Instructions:
Please review all instructions and the Hewlett-Packard
SupportLine User Guide or your Hewlett-Packard support terms
and conditions for precautions, scope of license,
restrictions, and, limitation of liability and warranties,
before installing this patch.
------------------------------------------------------------
1. Back up your system before installing a patch.
2. Login as root.
3. Copy the patch to the /tmp directory.
4. Move to the /tmp directory and unshar the patch:
cd /tmp
sh PHCO_35773
5. Run swinstall to install the patch:
swinstall -x autoreboot=true -x patch_match_target=true \
-s /tmp/PHCO_35773.depot
By default swinstall will archive the original software in
/var/adm/sw/save/PHCO_35773. If you do not wish to retain a
copy of the original software, include the patch_save_files
option in the swinstall command above:
-x patch_save_files=false
WARNING: If patch_save_files is false when a patch is installed,
the patch cannot be deinstalled. Please be careful
when using this feature.
For future reference, the contents of the PHCO_35773.text file is
available in the product readme:
swlist -l product -a readme -d @ /tmp/PHCO_35773.depot
To put this patch on a magnetic tape and install from the
tape drive, use the command:
dd if=/tmp/PHCO_35773.depot of=/dev/rmt/0m bs=2k
Special Installation Instructions: None
|