 |
≫ |
|
|
 |
パッチ名: PHCO_36900
パッチ摘要: 11.31 libc累積パッチ
作成日: 07/08/24
公開日: 07/09/19
ハードウェアプラットフォームおよびOSリリース:
11.31
現象:
PHCO_36900:
(SR:8606486148 CR:JAGag39051)
NULLの引き数を渡すと、sprintf(3S)が既定値より1だけ大きい値を返します。
問題点の説明:
PHCO_36900:
(SR:8606486148 CR:JAGag39051)
引き数としてNULLを渡すと、sprintf(3S)は不正に、1だけ大きい値を返してい
ました。
たとえば、sprintf(buff,"%c%c%s",'/0','S',"String")は、8ではなく9を返し
ていました。
解決方法:
引き数としてNULLが渡された場合でも正しい値を返すようにsprintf(3S)を修
正しました。
-----------------------------------------------------------------------------
Patch Name: PHCO_36900
Patch Description: 11.31 libc cumulative patch
Creation Date: 07/08/24
Post Date: 07/09/19
Hardware Platforms - OS Releases:
11.31
Products: N/A
Filesets:
OS-Core.CORE-64SLIB,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,v=HP
OS-Core.CORE-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,v=HP
OS-Core.C-MIN,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP
OS-Core.C-MIN-64ALIB,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP
OS-Core.CORE2-64SLIB,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP
OS-Core.CORE2-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP
ProgSupport.PROG2-AUX,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP
OS-Core.C-MIN,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP
OS-Core.C-MIN-64ALIB,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP
ProgSupport.PROG-AX-64ALIB,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP
ProgSupport.PROG-MIN,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP
ProgSupport.PROG2-AUX,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP
Automatic Reboot?: No
Status: General Release
Critical: No
Category Tags:
defect_repair enhancement general_release
Path Name: /hp-ux_patches/11.X/PHCO_36900
Symptoms:
PHCO_36900:
( SR:8606486148 CR:JAGag39051 )
sprintf(3S) returns one value more than intended when a NULL
argument is passed.
PHCO_36582:
( SR:8606474825 CR:JAGag29298 )
This product update is a member of a set needed to enable
the optional HP-UX Getenv-Perf-Enh feature.
Upon installation, the HP-UX Getenv-Perf-Enh bundle
(GetenvEnh) will install the full set of product updates
(including this one) to enable the Getenv-Perf-Enh feature.
If the HP-UX Getenv-Perf-Enh product is not installed,
this product update will have no impact on your system.
( SR:8606479505 CR:JAGag33701 )
fdatasync(2) does not handle cancellation requests.
Defect Description:
PHCO_36900:
( SR:8606486148 CR:JAGag39051 )
sprintf(3S) returns one value more when a NULL is passed to
it as argument.
e.g. sprintf(buff,"%c%c%s",'/0','S',"String");
should return 8 but returns 9.
Resolution:
sprintf(3S) is modified to return correct value, when NULL
is passed as argument.
PHCO_36582:
( SR:8606474825 CR:JAGag29298 )
This product update contains minor enhancements required to
enable the HP-UX Getenv-Perf-Enh.
Resolution:
Enablement feature required to enable product
HP-UX Getenv-Perf-Enh is added in libc API getenv(3C).
This feature will enable new functionality only if the
product HP-UX Getenv-Perf-Enh is installed else will not
change the existing behavior.
( SR:8606479505 CR:JAGag33701 )
fdatasync(2) does not handle cancellation requests.
Resolution:
fdatasync(2) has been modified such that it acts upon
cancellation requests.
Enhancement:
No (superseded patches contained enhancements)
PHCO_36582:
Support added for Getenv-Perf-Enh.
SR:
8606486148 8606474825 8606479505
Patch Files:
OS-Core.CORE-64SLIB,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,v=HP:
/usr/lib/pa20_64/libc.2
OS-Core.CORE-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,v=HP:
/usr/lib/libc.2
/usr/lib/pa20_32/libc.2
OS-Core.C-MIN,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
/usr/lib/hpux32/unix2003.o
/usr/lib/hpux32/unix95.o
/usr/lib/hpux32/unix98.o
OS-Core.C-MIN-64ALIB,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
/usr/lib/hpux64/unix2003.o
/usr/lib/hpux64/unix95.o
/usr/lib/hpux64/unix98.o
OS-Core.CORE2-64SLIB,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
/usr/lib/hpux64/libc.so.1
OS-Core.CORE2-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
/usr/lib/hpux32/libc.so.1
/usr/lib/hpux32/libcres.a
/usr/lib/hpux64/libcres.a
ProgSupport.PROG2-AUX,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
/usr/lib/hpux32/libp/libc.so.1
/usr/lib/hpux64/libp/libc.so.1
/usr/lib/hpux32/libp/libcres.a
/usr/lib/hpux64/libp/libcres.a
OS-Core.C-MIN,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
/usr/lib/libc.a
/usr/lib/unix2003.o
/usr/lib/unix95.o
/usr/lib/unix98.o
/usr/lib/libcres.a
OS-Core.C-MIN-64ALIB,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
/usr/lib/pa20_64/libc.a
/usr/lib/pa20_64/unix2003.o
/usr/lib/pa20_64/unix95.o
/usr/lib/pa20_64/unix98.o
/usr/lib/pa20_64/libcres.a
ProgSupport.PROG-AX-64ALIB,fr=B.11.31,fa=HP-UX_B.11.31_PA,
v=HP:
/usr/lib/pa20_64/libp/libc.a
ProgSupport.PROG-MIN,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
/usr/lib/libpicc.a
ProgSupport.PROG2-AUX,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
/usr/lib/libp/libc.a
what(1) Output:
OS-Core.CORE-64SLIB,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,v=HP:
/usr/lib/pa20_64/libc.2:
$ PATCH_11.31/PHCO_36900 Aug 24 2007 05:39:05 $
OS-Core.CORE-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,v=HP:
/usr/lib/libc.2:
$ PATCH_11.31/PHCO_36900 Aug 24 2007 05:33:54 $
/usr/lib/pa20_32/libc.2:
$ PATCH_11.31/PHCO_36900 Aug 24 2007 05:33:54 $
OS-Core.C-MIN,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
/usr/lib/hpux32/unix2003.o:
None
/usr/lib/hpux32/unix95.o:
None
/usr/lib/hpux32/unix98.o:
None
OS-Core.C-MIN-64ALIB,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
/usr/lib/hpux64/unix2003.o:
None
/usr/lib/hpux64/unix95.o:
None
/usr/lib/hpux64/unix98.o:
None
OS-Core.CORE2-64SLIB,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
/usr/lib/hpux64/libc.so.1:
$ PATCH_11.31/PHCO_36900 Aug 24 2007 05:53:08 $
OS-Core.CORE2-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
/usr/lib/hpux32/libc.so.1:
$ PATCH_11.31/PHCO_36900 Aug 24 2007 05:52:28 $
/usr/lib/hpux32/libcres.a:
$ PATCH_11.31/PHCO_36900 Aug 24 2007 05:45:36 $
/usr/lib/hpux64/libcres.a:
$ PATCH_11.31/PHCO_36900 Aug 24 2007 05:45:41 $
ProgSupport.PROG2-AUX,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
/usr/lib/hpux32/libp/libc.so.1:
$ PATCH_11.31/PHCO_36900 Aug 24 2007 05:55:18 $
/usr/lib/hpux64/libp/libc.so.1:
$ PATCH_11.31/PHCO_36900 Aug 24 2007 05:55:55 $
/usr/lib/hpux32/libp/libcres.a:
$ PATCH_11.31/PHCO_36900 Aug 24 2007 05:45:50 $
/usr/lib/hpux64/libp/libcres.a:
$ PATCH_11.31/PHCO_36900 Aug 24 2007 05:45:55 $
OS-Core.C-MIN,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
/usr/lib/libc.a:
$ PATCH_11.31/PHCO_36900 Aug 24 2007 05:17:01 $
/usr/lib/unix2003.o:
None
/usr/lib/unix95.o:
None
/usr/lib/unix98.o:
None
/usr/lib/libcres.a:
$ PATCH_11.31/PHCO_36900 Aug 24 2007 05:45:31 $
OS-Core.C-MIN-64ALIB,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
/usr/lib/pa20_64/libc.a:
$ PATCH_11.31/PHCO_36900 Aug 24 2007 05:21:33 $
/usr/lib/pa20_64/unix2003.o:
None
/usr/lib/pa20_64/unix95.o:
None
/usr/lib/pa20_64/unix98.o:
None
/usr/lib/pa20_64/libcres.a:
$ PATCH_11.31/PHCO_36900 Aug 24 2007 05:45:45 $
ProgSupport.PROG-AX-64ALIB,fr=B.11.31,fa=HP-UX_B.11.31_PA,
v=HP:
/usr/lib/pa20_64/libp/libc.a:
$ PATCH_11.31/PHCO_36900 Aug 24 2007 05:42:14 $
ProgSupport.PROG-MIN,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
/usr/lib/libpicc.a:
$ PATCH_11.31/PHCO_36900 Aug 24 2007 05:20:23 $
ProgSupport.PROG2-AUX,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
/usr/lib/libp/libc.a:
$ PATCH_11.31/PHCO_36900 Aug 24 2007 05:41:16 $
cksum(1) Output:
OS-Core.CORE-64SLIB,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,v=HP:
2512493564 2152944 /usr/lib/pa20_64/libc.2
OS-Core.CORE-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,v=HP:
826243427 2052096 /usr/lib/libc.2
826243427 2052096 /usr/lib/pa20_32/libc.2
OS-Core.C-MIN,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
3977305717 1564 /usr/lib/hpux32/unix2003.o
483138565 1560 /usr/lib/hpux32/unix95.o
919534760 1560 /usr/lib/hpux32/unix98.o
OS-Core.C-MIN-64ALIB,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
3240404438 1848 /usr/lib/hpux64/unix2003.o
540110765 1848 /usr/lib/hpux64/unix95.o
2672683514 1848 /usr/lib/hpux64/unix98.o
OS-Core.CORE2-64SLIB,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
43522407 4791472 /usr/lib/hpux64/libc.so.1
OS-Core.CORE2-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
1506196630 4848964 /usr/lib/hpux32/libc.so.1
2827389167 81822 /usr/lib/hpux32/libcres.a
893022725 94998 /usr/lib/hpux64/libcres.a
ProgSupport.PROG2-AUX,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
1960691093 5235868 /usr/lib/hpux32/libp/libc.so.1
252177379 5094328 /usr/lib/hpux64/libp/libc.so.1
136235441 87398 /usr/lib/hpux32/libp/libcres.a
854132375 102230 /usr/lib/hpux64/libp/libcres.a
OS-Core.C-MIN,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
4056284112 2747752 /usr/lib/libc.a
4080501003 864 /usr/lib/unix2003.o
1414481809 864 /usr/lib/unix95.o
1005775643 864 /usr/lib/unix98.o
2367102006 69212 /usr/lib/libcres.a
OS-Core.C-MIN-64ALIB,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
3210565449 4580370 /usr/lib/pa20_64/libc.a
831886495 1640 /usr/lib/pa20_64/unix2003.o
3023714728 1632 /usr/lib/pa20_64/unix95.o
3043296112 1632 /usr/lib/pa20_64/unix98.o
3250301642 71194 /usr/lib/pa20_64/libcres.a
ProgSupport.PROG-AX-64ALIB,fr=B.11.31,fa=HP-UX_B.11.31_PA,
v=HP:
685874930 4633806 /usr/lib/pa20_64/libp/libc.a
ProgSupport.PROG-MIN,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
692530932 2927164 /usr/lib/libpicc.a
ProgSupport.PROG2-AUX,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
1155408302 2896896 /usr/lib/libp/libc.a
Patch Conflicts: None
Patch Dependencies: None
Hardware Dependencies: None
Other Dependencies: None
Supersedes:
PHCO_36582
Equivalent Patches: None
Patch Package Size: 13610 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_36900
5. Run swinstall to install the patch:
swinstall -x autoreboot=true -x patch_match_target=true \
-s /tmp/PHCO_36900.depot
By default swinstall will archive the original software in
/var/adm/sw/save/PHCO_36900. 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_36900.text file is
available in the product readme:
swlist -l product -a readme -d @ /tmp/PHCO_36900.depot
To put this patch on a magnetic tape and install from the
tape drive, use the command:
dd if=/tmp/PHCO_36900.depot of=/dev/rmt/0m bs=2k
Special Installation Instructions: None
|