Patch Name: PHNE_28299 Patch Description: s700_800 11.22 libnss_dns DNS backend patch Creation Date: 03/10/06 Post Date: 03/10/17 Hardware Platforms - OS Releases: s700: 11.22 s800: 11.22 Products: N/A Filesets: NFS.NFS-64SLIB,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP NFS.NFS-SHLIBS,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP Automatic Reboot?: No Status: General Release Critical: Yes PHNE_28299: ABORT Category Tags: defect_repair general_release critical halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHNE_28299 Symptoms: PHNE_28299: ( SR:8606271239 CR:JAGae35468 ) Problem with DNS library resolver routines. ( SR:8606273042 CR:JAGae37148 ) Problem with getipnodeby* IPv6 resolver code. ( SR:8606288924 CR:JAGae52855 ) Sendmail dumps core while attempting to receive mails from certain domains. ( SR:8606320326 CR:JAGae82810 ) gethostbyaddr() not working properly. Defect Description: PHNE_28299: ( SR:8606271239 CR:JAGae35468 ) Under certain circumstances, the resolver incorrectly calculates the available buffer size. Resolution: The buffer size is now calculated properly. ( SR:8606273042 CR:JAGae37148 ) Under certain circumstances, large size packets received by the IPv6 resolver were not handled properly. Resolution: The resolver now properly handles packets of all sizes. ( SR:8606288924 CR:JAGae52855 ) Sendmail uses the gethostbyaddr() function to resolve the client's address. gethostbyaddr() refers to the alias and address pointer arrays for resolution. Because 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. ( SR:8606320326 CR:JAGae82810 ) gethostbyaddr() was not handling hostnames properly. Resolution: For native IA applications, the gethostbyaddr() code has been modified to handle host names properly. Enhancement: No SR: 8606271239 8606273042 8606288924 8606320326 Patch Files: NFS.NFS-64SLIB,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: /usr/lib/hpux64/libnss_dns.so.1 /usr/lib/pa20_64/libnss_dns.1 NFS.NFS-SHLIBS,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: /usr/lib/hpux32/libnss_dns.so.1 /usr/lib/libnss_dns.1 what(1) Output: NFS.NFS-64SLIB,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: /usr/lib/hpux64/libnss_dns.so.1: $ PATCH/11.22:PHNE_28299 Mon Oct 6 18:23:20 GMT 200 3 $ /usr/lib/pa20_64/libnss_dns.1: $ PATCH/11.11:PHNE_27796 Sep 17 2002 15:43:17 $ NFS.NFS-SHLIBS,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: /usr/lib/hpux32/libnss_dns.so.1: $ PATCH/11.22:PHNE_28299 Mon Oct 6 18:23:12 GMT 200 3 $ /usr/lib/libnss_dns.1: $ PATCH/11.11:PHNE_27796 Sep 17 2002 15:43:17 $ cksum(1) Output: NFS.NFS-64SLIB,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: 2414591717 87584 /usr/lib/hpux64/libnss_dns.so.1 2979937160 34816 /usr/lib/pa20_64/libnss_dns.1 NFS.NFS-SHLIBS,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: 818310781 80636 /usr/lib/hpux32/libnss_dns.so.1 331410839 36864 /usr/lib/libnss_dns.1 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHNE_29387: s700: 11.00 s800: 11.00 Patch Package Size: 130 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_28299 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHNE_28299.depot By default swinstall will archive the original software in /var/adm/sw/save/PHNE_28299. 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_28299.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHNE_28299.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHNE_28299.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None