Patch Name: PHNE_30007 Patch Description: s700_800 11.04 (VVOS) libnss_dns DNS backend patch Creation Date: 03/11/06 Post Date: 03/11/14 Hardware Platforms - OS Releases: s700: 11.04 s800: 11.04 Products: N/A Filesets: NFS.NFS-SHLIBS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP NFS.NFS-64SLIB,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: Yes PHNE_30007: ABORT Based on HP-UX Patch PHNE_29387: ABORT PHNE_27881: ABORT Based on HP-UX Patch PHNE_27795: ABORT Category Tags: defect_repair general_release critical halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHNE_30007 Symptoms: PHNE_30007: Repackaged HP-UX patch PHNE_29387 to VVOS Based on HP-UX patch PHNE_29387: 1. JAGae79455 / SR 8606316741 gethostbyaddr() may dump core when used with the third party memory allocation and free routines, malloc() and free(), respectively. 2. JAGae82810 / SR 8606320326 gethostbyaddr() is not working properly. PHNE_27881: Repackaged HP-UX patch PHNE_27795 to VVOS Based on HP-UX patch PHNE_27795: 1. JAGae35468 / SR 8606271239 Problem with DNS library resolver routines. 2. JAGad85337 / SR 8606216167 Multithreaded processes are not thread-scalable during DNS lookups using gethostbyname(). 3. JAGae52855 / SR 8606288924 If Special Release (SS) patch PHNE_27646 is installed then sendmail is unable to receive mail messages from certain domains. Defect Description: PHNE_30007: Repackaged HP-UX patch PHNE_29387 to VVOS Based on HP-UX patch PHNE_29387: 1. JAGae79455 / SR 8606316741 gethostbyaddr() uses dynamic memory allocation to store the address data. Due to an address pointer corruption, gethostbyaddr() tries to free the unallocated memory space. Resolution: gethostbyaddr() now uses static memory to store the address data instead of dynamic memory. 2. JAGae82810 / SR 8606320326 gethostbyaddr() was not handling hostnames properly. Resolution: gethostbyaddr() now handles hostnames properly. PHNE_27881: Repackaged HP-UX patch PHNE_27795 to VVOS Based on HP-UX patch PHNE_27795: 1. JAGae35468 / SR 8606271239 Under certain circumstances, the resolver incorrectly calculates the available buffer size. Resolution: The buffer size is now calculated properly. 2. JAGad85337 / SR 8606216167 In a multi-threaded process, the threads calling gethostbyname() are serialized because of a mutex lock. This lock degrades the scalability of the process. Resolution: The gethostbyname() and gethostbyaddr() are now thread-scalable. 3. JAGae52855 / SR 8606288924 sendmail uses gethostbyaddr() to resolve the address of a client. gethostbyaddr() refers to the alias and address pointer arrays during resolution. As the alias and address pointer arrays are not properly formatted, gethostbyaddr() may fail while parsing the DNS answer packet containing, CNAME records followed by PTR records. Resolution: The alias and address pointer arrays are now properly formatted. Enhancement: No SR: 8606316741 8606320326 8606271239 8606216167 8606288924 Patch Files: NFS.NFS-SHLIBS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /usr/lib/libnss_dns.1 NFS.NFS-64SLIB,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /usr/lib/pa20_64/libnss_dns.1 what(1) Output: NFS.NFS-SHLIBS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /usr/lib/libnss_dns.1: $ PATCH/11.0:PHNE_29387 Jul 26 2003 08:28:17 $ NFS.NFS-64SLIB,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /usr/lib/pa20_64/libnss_dns.1: $ PATCH/11.0:PHNE_29387 Jul 26 2003 08:28:17 $ cksum(1) Output: NFS.NFS-SHLIBS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: 1969859215 20480 /usr/lib/libnss_dns.1 NFS.NFS-64SLIB,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: 2999687163 18672 /usr/lib/pa20_64/libnss_dns.1 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_27881 Equivalent Patches: PHNE_29387: s700: 11.00 s800: 11.00 PHNE_28299: s700: 11.22 s800: 11.22 Patch Package Size: 40 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 PHNE_30007 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHNE_30007.depot By default swinstall will archive the original software in /var/adm/sw/save/PHNE_30007. 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 PHNE_30007.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHNE_30007.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHNE_30007.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None