Patch Name: PHCO_14654 Patch Description: s700_800 10.20 Xcurses library cumulative patch Creation Date: 98/03/31 Post Date: 98/04/02 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: N/A Filesets: OS-Core.CORE-SHLIBS ProgSupport.C-INC Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_14654 Symptoms: PHCO_14654: The delwin(3X) coredumps in some cases. PHCO_11342: The X/Open curses API getch() waits indefinitely for input to complete a keypad sequence. PHCO_11036: Various XCurses APIs were fixed during 10.30 and the same had to be backported to 10.20. PHCO_9295: 1. In 10.20, high-lighted fields cannot be reverted to normal in an application which links with -lcurses. 2. Application uses select() systems call core dumps. Defect Description: PHCO_14654: The call to delwin() coredumps in some remote cases. This is basically because of a buffer overflow in the library. PHCO_11342: When keypad is enabled, the X/Open curses API getch() should wait for some time after key is pressed for the next key to be pressed and return that sequence. If no key is pressed for some time the API should return alone. Currently getch() waits indefinitely for the next key to be pressed when is pressed. PHCO_11036: The 10.30 fixes to various XCurses APIs have been backported to 10.20. PHCO_9295: 1. 10.20 X/Open curses: high-lighted fields cannot be reverted to normal 2. 10.10 enhanced X/Open curses core dumps due to using wrong select call. SR: 4701376103 4701355313 Patch Files: /usr/lib/libxcurses.1 /usr/include/curses.h what(1) Output: /usr/lib/libxcurses.1: /usr/lib/libcurses: $Revision: 78.2.1.18 $ /usr/include/curses.h: $Revision: /ux/core/libs/hdr/curses.h@@/main/r10dav/ libc_dav/1 $ */ curses:common/lib/xlibcurses/screen/curses.ed 1.60.2 .8 cksum(1) Output: 107294891 409600 /usr/lib/libxcurses.1 2752405530 76838 /usr/include/curses.h Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_9295 PHCO_11036 PHCO_11342 Equivalent Patches: None Patch Package Size: 530 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_14654 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_14654.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHCO_14654.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_14654. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. Warning: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHCO_14654.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_14654.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None