Patch Name: PHCO_30531 Patch Description: s700_800 11.23 libc cumulative patch Creation Date: 04/05/10 Post Date: 04/06/01 Hardware Platforms - OS Releases: s700: 11.23 s800: 11.23 Products: N/A Filesets: OS-Core.C-MIN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP OS-Core.C-MIN-64ALIB,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP OS-Core.CORE2-64SLIB,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP OS-Core.CORE2-SHLIBS,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP ProgSupport.PROG2-AUX,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP Automatic Reboot?: No Status: General Release Critical: Yes PHCO_30531: ABORT ABORT: ( SR:8606357530 CR:JAGaf18230 ) PHCO_29957: CORRUPTION Category Tags: defect_repair general_release critical halts_system corruption Path Name: /hp-ux_patches/s700_800/11.X/PHCO_30531 Symptoms: PHCO_30531: ( SR:8606357530 CR:JAGaf18230 ) In few scenarios, catopen(3C) results in core dump. PHCO_29957: ( SR:8606331175 CR:JAGae92296 ) In case of 64 bit compilation, mktime(3C) corrupts user structure passed as an argument. ( SR:8606335199 CR:JAGae96274 ) memchr(3C) does not correctly search for a character in a string when the string passed to it is a memory mapped file. As a consequence, data is lost or corrupted. ( SR:8606335711 CR:JAGae96765 ) system(3S) behaves incorrectly when signal SIGCHLD is set to SIG_IGN in the process. ( SR:8606338609 CR:JAGae99559 ) Unable to resolve pthread_default_stacksize_np(3T) symbol due to the lack of stub in libc when not linked to pthread library. ( SR:8606326565 CR:JAGae88847 ) regcomp(3C) incorrectly includes the anchoring on one side of alternate for the whole expression for non-C locales. Defect Description: PHCO_30531: ( SR:8606357530 CR:JAGaf18230 ) catopen(3C) may result in core dump in few scenarios. Resolution: catopen(3C) has been modified to resolve the defect. PHCO_29957: ( SR:8606331175 CR:JAGae92296 ) In case of 64 bit compilation, mktime(3C) trashes user structure if the broken down time, passed as an argument, is out of range. The calendar time returned as result and the resultant structure elements do not have the expected values . Resolution: mktime(3C) has been modified to handle the broken time, passed as its argument,if it is out of range. ( SR:8606335199 CR:JAGae96274 ) When an mmap'ed buffer is passed to memchr(3C) and if no element of the buffer has been referenced earlier, then memchr(3C) may not correctly search in the buffer for the specified character. Resolution: The defect in memchr(3C) has been resolved by making appropriate code changes. NOTE: The defect manifests itself only when the buffer passed to memchr(3C) is part of memory that is paged out at the time of invocation. This condition occurs rarely. This fix will be visible to the application after this patch is installed , but for best performance, it is advisable that applications be relinked with the patched library. ( SR:8606335711 CR:JAGae96765 ) When a process sets signal SIGCHLD to SIG_IGN and then calls system(3S) it returns -1 and sets error number, errno, to ECHILD. Resolution: Modified system(3S) to return proper value and set proper error number. ( SR:8606338609 CR:JAGae99559 ) Applications which have pthread_default_stacksize_np(3T) call , or applications which call a third party library function which internally calls pthread_default_stacksize_np(3T) cannot resolve it unless linked to libpthread. Resolution: pthread_default_stacksize_np(3T) stub is provided in libc. ( SR:8606326565 CR:JAGae88847 ) regcomp(3C) incorrectly includes the anchoring on one side of alternate for the whole expression for non-C locales. The anchoring on the right side of alternate is assumed for both sides of expression. Resolution: The anchoring is changed to handle alternate in expressions correctly. Enhancement: No SR: 8606326565 8606331175 8606335199 8606335711 8606338609 8606357530 Patch Files: OS-Core.C-MIN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/lib/hpux32/unix95.o /usr/lib/hpux32/unix98.o OS-Core.C-MIN-64ALIB,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/lib/hpux64/unix95.o /usr/lib/hpux64/unix98.o OS-Core.CORE2-64SLIB,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/lib/hpux64/libc.so.1 OS-Core.CORE2-SHLIBS,fr=B.11.23,fa=HP-UX_B.11.23_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.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/lib/hpux32/libp/libc.so.1 /usr/lib/hpux32/libp/libcres.a /usr/lib/hpux64/libp/libc.so.1 /usr/lib/hpux64/libp/libcres.a what(1) Output: OS-Core.C-MIN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/lib/hpux32/unix95.o: None /usr/lib/hpux32/unix98.o: None OS-Core.C-MIN-64ALIB,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/lib/hpux64/unix95.o: None /usr/lib/hpux64/unix98.o: None OS-Core.CORE2-64SLIB,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/lib/hpux64/libc.so.1: $ PATCH_11.23/PHCO_30531 May 10 2004 23:22:03 $ OS-Core.CORE2-SHLIBS,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/lib/hpux32/libc.so.1: $ PATCH_11.23/PHCO_30531 May 10 2004 23:14:37 $ /usr/lib/hpux32/libcres.a: $ PATCH_11.23/PHCO_30531 May 10 2004 23:29:43 $ /usr/lib/hpux64/libcres.a: $ PATCH_11.23/PHCO_30531 May 10 2004 23:29:55 $ ProgSupport.PROG2-AUX,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/lib/hpux32/libp/libc.so.1: $ PATCH_11.23/PHCO_30531 May 10 2004 23:25:41 $ /usr/lib/hpux32/libp/libcres.a: $ PATCH_11.23/PHCO_30531 May 10 2004 23:30:08 $ /usr/lib/hpux64/libp/libc.so.1: $ PATCH_11.23/PHCO_30531 May 10 2004 23:29:05 $ /usr/lib/hpux64/libp/libcres.a: $ PATCH_11.23/PHCO_30531 May 10 2004 23:30:20 $ cksum(1) Output: OS-Core.C-MIN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: 928555926 1160 /usr/lib/hpux32/unix95.o 3373872743 1160 /usr/lib/hpux32/unix98.o OS-Core.C-MIN-64ALIB,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: 2220044826 1376 /usr/lib/hpux64/unix95.o 947958492 1376 /usr/lib/hpux64/unix98.o OS-Core.CORE2-64SLIB,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: 2132358490 4279520 /usr/lib/hpux64/libc.so.1 OS-Core.CORE2-SHLIBS,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: 1926297153 4558468 /usr/lib/hpux32/libc.so.1 429596423 70910 /usr/lib/hpux32/libcres.a 2693169981 81114 /usr/lib/hpux64/libcres.a ProgSupport.PROG2-AUX,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: 58142236 4709316 /usr/lib/hpux32/libp/libc.so.1 1327395734 75910 /usr/lib/hpux32/libp/libcres.a 3371492288 4423040 /usr/lib/hpux64/libp/libc.so.1 374328795 87474 /usr/lib/hpux64/libp/libcres.a Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_29957 Equivalent Patches: PHCO_30530: s700: 11.11 s800: 11.11 Patch Package Size: 6070 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_30531 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_30531.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_30531. 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_30531.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_30531.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_30531.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None