 |
≫ |
|
|
 |
パッチ名: PHCO_36069
パッチ摘要: s700_800 11.23 libcのマンページ累積パッチ
作成日: 07/07/30
公開日: 07/08/21
ハードウェアプラットフォームおよびOSリリース:
s700: 11.23
s800: 11.23
現象:
PHCO_36069:
1.(SR:8606439803 CR:JAGaf97738)
maxsizeが文字列のフォーマットに必要なサイズより小さいと、snprintf(3S)/
vsnprintf(3S)は-1を返します。ところが、このことがマンページに記載され
ていません。
2.(SR:8606469359 CR:JAGag24566)
fwrite(3S)のマンページのERRORSセクションでは、一部のエラー番号しか説明
されていません。
3.(SR:8606431747 CR:JAGaf91189)
sbrk(2)が不正に、非同期シグナル対応関数として説明されています。
4.(SR:8606468303 CR:JAGag23607)
wcsftime(3C)/wcstok(3C)のマルチバイトサポート拡張動作に関する説明が不
十分です。
問題点の説明:
PHCO_36069:
1.(SR:8606439803 CR:JAGaf97738)
maxsizeが文字列のフォーマットに必要なサイズより小さいと、snprintf(3S)/
vsnprintf(3S)は-1を返します。ところが、このことがマンページに記載され
ていませんでした。
解決方法:
この説明をマンページに追加しました。
2.(SR:8606469359 CR:JAGag24566)
fwrite(3S)のマンページのERRORS(エラーの説明)セクションは、putc(3S)の
ERRORSセクションではなくgetc(3S)のERRORSセクションをポイントしていまし
た。
解決方法:
正しいERRORSセクションをポイントするようにマンページを修正しました。
3.(SR:8606431747 CR:JAGaf91189)
sbrk(2)が不正に、非同期シグナル対応関数として説明されていました。
解決方法:
thread_safety(5)のマンページに記載されている非同期シグナル対応関数のリ
ストからsbrk(2)を削除しました。
4.(SR:8606468303 CR:JAGag23607)
wcsftime(3C)/wcstok(3C)のマンページには、これらのAPIのマルチバイトサポ
ート拡張動作を使用する方法が記載されていませんでした。
解決方法:
マルチバイトサポート拡張動作の使用方法に関する説明をwcsftime(3C)/
wcstok(3C)のマンページに追加しました。
-----------------------------------------------------------------------------
Patch Name: PHCO_36069
Patch Description: s700_800 11.23 libc manpage cumulative patch
Creation Date: 07/07/30
Post Date: 07/08/21
Hardware Platforms - OS Releases:
s700: 11.23
s800: 11.23
Products: N/A
Filesets:
ProgSupport.PAUX-ENG-A-MAN,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA,v=HP
Streams.STRE-ENG-A-MAN,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA,v=HP
Automatic Reboot?: No
Status: General Release
Critical: No
Category Tags:
defect_repair general_release
Path Name: /hp-ux_patches/s700_800/11.X/PHCO_36069
Symptoms:
PHCO_36069:
( SR:8606439803 CR:JAGaf97738 )
snprintf(3S) and vsnprintf(3S) return -1 when maxsize is
less than the required size to format the string. This
behaviour is not documented in the man page.
( SR:8606469359 CR:JAGag24566 )
fwrite(3S) man page does not contain the description
of all the error numbers in the ERRORS section.
( SR:8606431747 CR:JAGaf91189 )
sbrk(2) is wrongly documented as an async-signal safe
function.
( SR:8606468303 CR:JAGag23607 )
Insufficient documentation on the Multibyte Support
Extension behaviour of wcsftime(3C) and wcstok(3C).
PHCO_32519:
( SR:8606358057 CR:JAGaf18756 )
fdetach(3c) manpage needs to be updated for Security
Containment support.
( SR:8606386812 CR:JAGaf46966 )
Header info and "SEE ALSO" section are missing in
getresgid(3c) manpage.
( SR:8606386814 CR:JAGaf46968 )
Itanium specific features of malloc(3C) have not been
documented as available only on Itanium.
( SR:8606387236 CR:JAGaf47389 )
Multithreaded applications might misbehave if they invoke
makecontext(2), getcontext(2), setcontext(2) and
swapcontext(2) APIs which are non-thread safe.
( SR:8606388842 CR:JAGaf48990 )
iconv(3C) manpage shows the incorrect information in
EXAMPLES and WARNINGS sections.
Defect Description:
PHCO_36069:
( SR:8606439803 CR:JAGaf97738 )
snprintf(3S) and vsnprintf(3S) return -1 when maxsize is
less than the required size to format the string. This
behaviour is not documented in the man page.
Resolution:
Documentation has been added to the man pages explaining the
behaviour.
( SR:8606469359 CR:JAGag24566 )
fwrite(3S) man page ERRORS section points to getc(3S)
ERRORS section for error description, instead of putc(3S)
ERRORS section.
Resolution:
Modified the man page to point to correct errors section.
( SR:8606431747 CR:JAGaf91189 )
sbrk(2) is wrongly documented as an async-signal safe
function.
Resolution:
sbrk(2) is removed from the list of async signal safe
functions in the thread_safety(5) manpage.
( SR:8606468303 CR:JAGag23607 )
The wcsftime(3C) and wcstok(3C) man pages provide
insufficient information on how to get Multibyte Support
Extension behaviour from these APIs.
Resolution:
The wcsftime(3C) and wcstok(3C) man pages have been updated
with information on how to get Multibyte Support Extension
behaviour.
PHCO_32519:
( SR:8606358057 CR:JAGaf18756 )
Streams manpage needs to be updated for Security Containment
support.
Resolution:
The manpage of fdetach(3c) has been updated for Security
Containment support.
( SR:8606386812 CR:JAGaf46966 )
The man page for getresgid(3C) does not show which header
file to be included and it does not have the "SEE ALSO"
section.
Resolution:
The manpage of getresgid(3C) has been updated with header
file information and "SEE ALSO" section.
( SR:8606386814 CR:JAGaf46968 )
Itanium specific features of malloc(3C) have been documented
as available for PA-RISC based systems also.
Resolution:
Itanium specific features of malloc(3C) have been documented
as available on Itanium only.
( SR:8606387236 CR:JAGaf47389 )
thread_safety(5) man page does not document makecontext(2),
getcontext(2), setcontext(2) and swapcontext(2) APIs to be
non-thread safe.
Resolution:
makecontext(2), getcontext(2), setcontext(2) and
swapcontext(2) APIs have been added to the list of
non-thread-safe APIs in thread_safety(5) manpage.
( SR:8606388842 CR:JAGaf48990 )
iconv(3C) manpage shows the incorrect information as follows
1. Wrong data type is used for arguments of iconv()
function in example program, which is documented
in EXAMPLES section of iconv(3C) manpage. Because
of this, if the above program is compiled for 64-bit,
then this does not work properly.
2. The information provided for compiling an archived
application in WARNINGS section of iconv(3C) is not
applicable for IPF, but the manpage doesn't mention
that.
Resolution:
The EXAMPLES and WARNINGS sections of iconv(3C) manpage have
been updated.
Enhancement:
No
SR:
8606439803 8606469359 8606431747 8606468303 8606358057
8606386812 8606386814 8606387236 8606388842
Patch Files:
ProgSupport.PAUX-ENG-A-MAN,fr=B.11.23,
fa=HP-UX_B.11.23_IA/PA,v=HP:
/usr/share/man/man3.Z/fread.3s
/usr/share/man/man3.Z/getresuid.3
/usr/share/man/man3.Z/iconv.3c
/usr/share/man/man3.Z/malloc.3c
/usr/share/man/man3.Z/printf.3s
/usr/share/man/man3.Z/alloca.3c
/usr/share/man/man3.Z/calloc.3c
/usr/share/man/man3.Z/fprintf.3s
/usr/share/man/man3.Z/fread_unloc.3s
/usr/share/man/man3.Z/free.3c
/usr/share/man/man3.Z/fwrite.3s
/usr/share/man/man3.Z/fwrite_unlo.3s
/usr/share/man/man3.Z/getresgid.3
/usr/share/man/man3.Z/iconv_close.3c
/usr/share/man/man3.Z/iconv_open.3c
/usr/share/man/man3.Z/mallinfo.3c
/usr/share/man/man3.Z/mallopt.3c
/usr/share/man/man3.Z/memorymap.3c
/usr/share/man/man3.Z/realloc.3c
/usr/share/man/man3.Z/snprintf.3s
/usr/share/man/man3.Z/sprintf.3s
/usr/share/man/man3.Z/valloc.3c
/usr/share/man/man3.Z/wcscat.3c
/usr/share/man/man3.Z/wcschr.3c
/usr/share/man/man3.Z/wcscmp.3c
/usr/share/man/man3.Z/wcscoll.3c
/usr/share/man/man3.Z/wcscpy.3c
/usr/share/man/man3.Z/wcscspn.3c
/usr/share/man/man3.Z/wcslen.3c
/usr/share/man/man3.Z/wcsncat.3c
/usr/share/man/man3.Z/wcsncmp.3c
/usr/share/man/man3.Z/wcsncpy.3c
/usr/share/man/man3.Z/wcspbrk.3c
/usr/share/man/man3.Z/wcsrchr.3c
/usr/share/man/man3.Z/wcsspn.3c
/usr/share/man/man3.Z/wcsstr.3c
/usr/share/man/man3.Z/wcstok.3c
/usr/share/man/man3.Z/wcstok_r.3c
/usr/share/man/man3.Z/wcswcs.3c
/usr/share/man/man3.Z/wcswidth.3c
/usr/share/man/man3.Z/wcsxfrm.3c
/usr/share/man/man3.Z/wcwidth.3c
/usr/share/man/man3.Z/wcsftime.3c
/usr/share/man/man3.Z/wcstring.3c
/usr/share/man/man5.Z/thread_safety.5
Streams.STRE-ENG-A-MAN,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA,
v=HP:
/usr/share/man/man3.Z/fdetach.3c
what(1) Output:
ProgSupport.PAUX-ENG-A-MAN,fr=B.11.23,
fa=HP-UX_B.11.23_IA/PA,v=HP:
/usr/share/man/man3.Z/fread.3s:
None
/usr/share/man/man3.Z/getresuid.3:
None
/usr/share/man/man3.Z/iconv.3c:
None
/usr/share/man/man3.Z/malloc.3c:
None
/usr/share/man/man3.Z/printf.3s:
None
/usr/share/man/man3.Z/alloca.3c:
None
/usr/share/man/man3.Z/calloc.3c:
None
/usr/share/man/man3.Z/fprintf.3s:
None
/usr/share/man/man3.Z/fread_unloc.3s:
None
/usr/share/man/man3.Z/free.3c:
None
/usr/share/man/man3.Z/fwrite.3s:
None
/usr/share/man/man3.Z/fwrite_unlo.3s:
None
/usr/share/man/man3.Z/getresgid.3:
None
/usr/share/man/man3.Z/iconv_close.3c:
None
/usr/share/man/man3.Z/iconv_open.3c:
None
/usr/share/man/man3.Z/mallinfo.3c:
None
/usr/share/man/man3.Z/mallopt.3c:
None
/usr/share/man/man3.Z/memorymap.3c:
None
/usr/share/man/man3.Z/realloc.3c:
None
/usr/share/man/man3.Z/snprintf.3s:
None
/usr/share/man/man3.Z/sprintf.3s:
None
/usr/share/man/man3.Z/valloc.3c:
None
/usr/share/man/man3.Z/wcscat.3c:
None
/usr/share/man/man3.Z/wcschr.3c:
None
/usr/share/man/man3.Z/wcscmp.3c:
None
/usr/share/man/man3.Z/wcscoll.3c:
None
/usr/share/man/man3.Z/wcscpy.3c:
None
/usr/share/man/man3.Z/wcscspn.3c:
None
/usr/share/man/man3.Z/wcslen.3c:
None
/usr/share/man/man3.Z/wcsncat.3c:
None
/usr/share/man/man3.Z/wcsncmp.3c:
None
/usr/share/man/man3.Z/wcsncpy.3c:
None
/usr/share/man/man3.Z/wcspbrk.3c:
None
/usr/share/man/man3.Z/wcsrchr.3c:
None
/usr/share/man/man3.Z/wcsspn.3c:
None
/usr/share/man/man3.Z/wcsstr.3c:
None
/usr/share/man/man3.Z/wcstok.3c:
None
/usr/share/man/man3.Z/wcstok_r.3c:
None
/usr/share/man/man3.Z/wcswcs.3c:
None
/usr/share/man/man3.Z/wcswidth.3c:
None
/usr/share/man/man3.Z/wcsxfrm.3c:
None
/usr/share/man/man3.Z/wcwidth.3c:
None
/usr/share/man/man3.Z/wcsftime.3c:
None
/usr/share/man/man3.Z/wcstring.3c:
None
/usr/share/man/man5.Z/thread_safety.5:
None
Streams.STRE-ENG-A-MAN,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA,
v=HP:
/usr/share/man/man3.Z/fdetach.3c:
None
cksum(1) Output:
ProgSupport.PAUX-ENG-A-MAN,fr=B.11.23,
fa=HP-UX_B.11.23_IA/PA,v=HP:
2946447342 2350 /usr/share/man/man3.Z/fread.3s
4144812490 1015 /usr/share/man/man3.Z/getresuid.3
279452894 6911 /usr/share/man/man3.Z/iconv.3c
2038113356 8580 /usr/share/man/man3.Z/malloc.3c
3347250355 10171 /usr/share/man/man3.Z/printf.3s
2038113356 8580 /usr/share/man/man3.Z/alloca.3c
2038113356 8580 /usr/share/man/man3.Z/calloc.3c
3347250355 10171 /usr/share/man/man3.Z/fprintf.3s
2946447342 2350 /usr/share/man/man3.Z/fread_unloc.3s
2038113356 8580 /usr/share/man/man3.Z/free.3c
2946447342 2350 /usr/share/man/man3.Z/fwrite.3s
2946447342 2350 /usr/share/man/man3.Z/fwrite_unlo.3s
4144812490 1015 /usr/share/man/man3.Z/getresgid.3
279452894 6911 /usr/share/man/man3.Z/iconv_close.3c
279452894 6911 /usr/share/man/man3.Z/iconv_open.3c
2038113356 8580 /usr/share/man/man3.Z/mallinfo.3c
2038113356 8580 /usr/share/man/man3.Z/mallopt.3c
2038113356 8580 /usr/share/man/man3.Z/memorymap.3c
2038113356 8580 /usr/share/man/man3.Z/realloc.3c
3347250355 10171 /usr/share/man/man3.Z/snprintf.3s
3347250355 10171 /usr/share/man/man3.Z/sprintf.3s
2038113356 8580 /usr/share/man/man3.Z/valloc.3c
1191572123 7020 /usr/share/man/man3.Z/wcscat.3c
1191572123 7020 /usr/share/man/man3.Z/wcschr.3c
1191572123 7020 /usr/share/man/man3.Z/wcscmp.3c
1191572123 7020 /usr/share/man/man3.Z/wcscoll.3c
1191572123 7020 /usr/share/man/man3.Z/wcscpy.3c
1191572123 7020 /usr/share/man/man3.Z/wcscspn.3c
1191572123 7020 /usr/share/man/man3.Z/wcslen.3c
1191572123 7020 /usr/share/man/man3.Z/wcsncat.3c
1191572123 7020 /usr/share/man/man3.Z/wcsncmp.3c
1191572123 7020 /usr/share/man/man3.Z/wcsncpy.3c
1191572123 7020 /usr/share/man/man3.Z/wcspbrk.3c
1191572123 7020 /usr/share/man/man3.Z/wcsrchr.3c
1191572123 7020 /usr/share/man/man3.Z/wcsspn.3c
1191572123 7020 /usr/share/man/man3.Z/wcsstr.3c
1191572123 7020 /usr/share/man/man3.Z/wcstok.3c
1191572123 7020 /usr/share/man/man3.Z/wcstok_r.3c
1191572123 7020 /usr/share/man/man3.Z/wcswcs.3c
1191572123 7020 /usr/share/man/man3.Z/wcswidth.3c
1191572123 7020 /usr/share/man/man3.Z/wcsxfrm.3c
1191572123 7020 /usr/share/man/man3.Z/wcwidth.3c
2560065194 7006 /usr/share/man/man3.Z/wcsftime.3c
1191572123 7020 /usr/share/man/man3.Z/wcstring.3c
901999738 4471 /usr/share/man/man5.Z/thread_safety.5
Streams.STRE-ENG-A-MAN,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA,
v=HP:
2488138211 1957 /usr/share/man/man3.Z/fdetach.3c
Patch Conflicts: None
Patch Dependencies:
s700: 11.23: PHKL_31500
s800: 11.23: PHKL_31500
Hardware Dependencies: None
Other Dependencies: None
Supersedes:
PHCO_32519
Equivalent Patches: None
Patch Package Size: 110 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_36069
5. Run swinstall to install the patch:
swinstall -x autoreboot=true -x patch_match_target=true \
-s /tmp/PHCO_36069.depot
By default swinstall will archive the original software in
/var/adm/sw/save/PHCO_36069. 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_36069.text file is
available in the product readme:
swlist -l product -a readme -d @ /tmp/PHCO_36069.depot
To put this patch on a magnetic tape and install from the
tape drive, use the command:
dd if=/tmp/PHCO_36069.depot of=/dev/rmt/0m bs=2k
Special Installation Instructions: None
|