 |
≫ |
|
|
 |
パッチ名: PHCO_36798
パッチ摘要: 11.31 pax(1)パッチ
作成日: 07/07/03
公開日: 07/07/16
ハードウェアプラットフォームおよびOSリリース:
11.31
現象:
PHCO_36798:
(SR:8606472904 CR:JAGag27671)
stdinからの非常に長いファイル名の読み取り時に、pax(1)が異常終了したり
コアダンプが取られたりすることがあります。
問題点の説明:
PHCO_36798:
(SR:8606472904 CR:JAGag27671)
pax(1)がstdinから非常に長いファイル名を読み取ると、内部バッファのオー
バーフローにより、コアダンプが取られることがありました。
解決方法:
読み取るファイル名が長すぎる場合は、エラーメッセージ(ENAMETOOLONG)を表
示するようにpax(1)を修正しました。
-----------------------------------------------------------------------------
Patch Name: PHCO_36798
Patch Description: 11.31 pax(1) patch
Creation Date: 07/07/03
Post Date: 07/07/16
Hardware Platforms - OS Releases:
11.31
Products: N/A
Filesets:
OS-Core.UX-CORE,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,v=HP
OS-Core.UX2-CORE,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP
OS-Core.UX2-CORE,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP
Automatic Reboot?: No
Status: General Release
Critical:
Yes
PHCO_36798: ABORT
Category Tags:
defect_repair general_release critical halts_system
Path Name: /hp-ux_patches/11.X/PHCO_36798
Symptoms:
PHCO_36798:
( SR:8606472904 CR:JAGag27671 )
pax(1) may abort or core dump when attempting
to read very long file names from stdin.
Defect Description:
PHCO_36798:
( SR:8606472904 CR:JAGag27671 )
When pax(1) reads very long file names from stdin to its
internal buffer, the buffer may overflow causing a core
dump.
Resolution:
pax(1) has been modified to error out (ENAMETOOLONG)
when the length of the filename read is too long.
Enhancement:
No
SR:
8606472904
Patch Files:
OS-Core.UX-CORE,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,v=HP:
/usr/lib/nls/msg/C/pax.cat
OS-Core.UX2-CORE,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
/usr/bin/pax
/sbin/pax
OS-Core.UX2-CORE,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
/usr/bin/pax
/sbin/pax
what(1) Output:
OS-Core.UX-CORE,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,v=HP:
/usr/lib/nls/msg/C/pax.cat:
None
OS-Core.UX2-CORE,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
/usr/bin/pax:
create.c $Date: 2007/06/27 14:12:08 $Revision: r11.3
1/1 PATCH_11.31 (PHCO_36798)
namelist.c $Date: 2007/06/27 14:12:11 $Revision: r11
.31/1 PATCH_11.31 (PHCO_36798)
pass.c $Date: 2007/06/27 14:12:14 $Revision: r11.31/
1 PATCH_11.31 (PHCO_36798)
ttyio.c $Date: 2007/06/27 14:12:17 $Revision: r11.31
/1 PATCH_11.31 (PHCO_36798)
/sbin/pax:
create.c $Date: 2007/06/27 14:12:08 $Revision: r11.3
1/1 PATCH_11.31 (PHCO_36798)
namelist.c $Date: 2007/06/27 14:12:11 $Revision: r11
.31/1 PATCH_11.31 (PHCO_36798)
pass.c $Date: 2007/06/27 14:12:14 $Revision: r11.31/
1 PATCH_11.31 (PHCO_36798)
ttyio.c $Date: 2007/06/27 14:12:17 $Revision: r11.31
/1 PATCH_11.31 (PHCO_36798)
OS-Core.UX2-CORE,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
/usr/bin/pax:
$Revision: 92453-07 linker linker crt0.o B.11.16.01
030415 $
create.c $Date: 2007/06/27 14:12:08 $Revision: r11.3
1/1 PATCH_11.31 (PHCO_36798)
namelist.c $Date: 2007/06/27 14:12:11 $Revision: r11
.31/1 PATCH_11.31 (PHCO_36798)
pass.c $Date: 2007/06/27 14:12:14 $Revision: r11.31/
1 PATCH_11.31 (PHCO_36798)
ttyio.c $Date: 2007/06/27 14:12:17 $Revision: r11.31
/1 PATCH_11.31 (PHCO_36798)
/sbin/pax:
$Revision: 92453-07 linker linker crt0.o B.11.16.01
030415 $
create.c $Date: 2007/06/27 14:12:08 $Revision: r11.3
1/1 PATCH_11.31 (PHCO_36798)
namelist.c $Date: 2007/06/27 14:12:11 $Revision: r11
.31/1 PATCH_11.31 (PHCO_36798)
pass.c $Date: 2007/06/27 14:12:14 $Revision: r11.31/
1 PATCH_11.31 (PHCO_36798)
ttyio.c $Date: 2007/06/27 14:12:17 $Revision: r11.31
/1 PATCH_11.31 (PHCO_36798)
$ B.11.31 Jun 14 2007 14:48:21 $
cksum(1) Output:
OS-Core.UX-CORE,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,v=HP:
3176742741 8230 /usr/lib/nls/msg/C/pax.cat
OS-Core.UX2-CORE,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
870268278 309524 /usr/bin/pax
1150386640 1219252 /sbin/pax
OS-Core.UX2-CORE,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
3996730659 192512 /usr/bin/pax
2469732399 679936 /sbin/pax
Patch Conflicts: None
Patch Dependencies: None
Hardware Dependencies: None
Other Dependencies: None
Supersedes: None
Equivalent Patches: None
Patch Package Size: 1020 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_36798
5. Run swinstall to install the patch:
swinstall -x autoreboot=true -x patch_match_target=true \
-s /tmp/PHCO_36798.depot
By default swinstall will archive the original software in
/var/adm/sw/save/PHCO_36798. 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_36798.text file is
available in the product readme:
swlist -l product -a readme -d @ /tmp/PHCO_36798.depot
To put this patch on a magnetic tape and install from the
tape drive, use the command:
dd if=/tmp/PHCO_36798.depot of=/dev/rmt/0m bs=2k
Special Installation Instructions: None
|