Patch Name: PHNE_21888 Patch Description: s700_800 11.00 libnm general patch Creation Date: 00/06/20 Post Date: 01/03/19 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: Networking.NET-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,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/PHNE_21888 Symptoms: PHNE_21888: ( SR not found ; Defect: JAGad05815) When run on systems with versions of transport prior to patch PHNE_17018, the mibget routine in libnm can return incomplete results and cause program core dumps. PHNE_19984: ( SR not found ; Defect: JAGaa95608) Calling the function get_if_table causes a program core dump. ( SR not found ; Defect: JAGaa93989) There is no 64 bit version of libnm. Defect Description: PHNE_21888: ( SR not found ; Defect: JAGad05815) Symptom: When run on systems with versions of transport prior to patch PHNE_17018, the mibget routine in libnm can return incomplete results and cause program core dumps. Defect Description: The underlying ioctl interface used by libnm to obtain information from the kernel sometimes returns NULL entries. Improper handling of these NULL entries causes libnm to core dump or return prematurely with incomplete results. Versions of transport starting with PHNE_17018 never return these NULL entries and do not exhibit this behavour. Resolution: The routine mibget() was modified to deal correctly with the NULL entries returned by the kernel. PHNE_19984: ( SR not found ; Defect: JAGaa95608) Symptom: Calling the function get_if_table causes a program core dump. Defect Description: When an application buffer is smaller than the size of the system if_table, the get_if_table function gets a SIGSEGV and causes the program to core dump. Resolution: Return errno EMSGSIZE, when the API buffer is smaller than the size of system if_table. ( SR not found ; Defect: JAGaa93989) Symptom: There is no 64 bit version of libnm. Defect Description: There is no 64 bit version of libnm. Resolution: The library libnm has ben ported to 64-bit safe. SR: 0000000000 Patch Files: Networking.NET-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/lib/pa20_64/libnm.1 /usr/lib/pa20_64/libnm.sl /usr/lib/libnm.1 what(1) Output: Networking.NET-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/lib/pa20_64/libnm.1: NET: Version: B.11.00 $Date: 97/10/15 10:44:23 $ PHNE_21888 nmapi.c $Revision: @@/main/r11ros/8 $ $Date: 00/06/16 14:05:23 $ /usr/lib/pa20_64/libnm.sl: NET: Version: B.11.00 $Date: 97/10/15 10:44:23 $ PHNE_21888 nmapi.c $Revision: @@/main/r11ros/8 $ $Date: 00/06/16 14:05:23 $ /usr/lib/libnm.1: NET: Version: B.11.00 $Date: 97/10/15 10:44:23 $ PHNE_21888 nmapi.c $Revision: @@/main/r11ros/8 $ $Date: 00/06/16 14:05:23 $ cksum(1) Output: Networking.NET-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 2364164124 39152 /usr/lib/pa20_64/libnm.1 2364164124 39152 /usr/lib/pa20_64/libnm.sl 311768 40960 /usr/lib/libnm.1 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_19984 Equivalent Patches: None Patch Package Size: 100 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_21888 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHNE_21888.depot By default swinstall will archive the original software in /var/adm/sw/save/PHNE_21888. If you do not wish to retain a copy of the original software, use the patch_save_files option: swinstall -x autoreboot=true -x patch_match_target=true \ -x patch_save_files=false -s /tmp/PHNE_21888.depot 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_21888.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHNE_21888.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHNE_21888.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None