Patch Name: PHSS_11046 Patch Description: s700_800 10.20 X11R5/Xt/Motif Runtime May97 Periodic patch Creation Date: 97/06/11 Post Date: 97/06/23 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: N/A Filesets: X11.X11R5-SHLIBS X11.MOTIF12-SHLIB Automatic Reboot?: No Status: General Superseded Critical: Yes PHSS_11046: ABORT refer to symptoms and associated defect reports. PHSS_10688: CORRUPTION refer to symptoms and associated defect reports. PHSS_10480: ABORT refer to symptoms and associated defect reports. PHSS_9812: ABORT refer to symptoms and associated defect reports. PHSS_9356: ABORT refer to symptoms and associated defect reports. PHSS_9193: ABORT refer to symptoms and associated defect reports. PHSS_8971: ABORT refer to symptoms and associated defect reports. PHSS_7743: ABORT refer to symptoms and associated defect reports. Path Name: /hp-ux_patches/s700_800/10.X/PHSS_11046 Symptoms: PHSS_11046: 1. Fix condition whereby a string copy of an environment variable could overflow a stack buffer. 2. Fix memory leak in XmScrollBar resulting from mismatched Get/Install pixmap calls. 3. Fix for incorrect length value being returned by XmTextFieldGetMaxLength(). 4. Fix defect in drag and drop resulting in segmentation violation when incremental transfer is enabled. PHSS_10688: 1. TextFieldWidget (but not TextWidget) loses data after 32 characters in Japanese locale and input method. PHSS_10480: 1. Fix problem that causes application to dump core when manipulating popup menus and destroying a menu element. 2. Fix core dump created by setting up a TextWidget, setting hightlights, and backspacing twice. PHSS_9812: 1. Fix memory leak where highlighting text continuously causes the Text widget to consume more and more memory until the program aborts. 2. Fix defect where a toggle button's background color may be incorrectly set to indicate "armed" when it is not. 3. Fix defect where parts of a pixmap label may not get repainted after window resize which can cause visual errors such as loss of underscore characters. 4. Fix defect where the list widget ignores the specified fontList resource and uses the (default) fixed font instead. 5. Fix defect where Motif dumps core if XmTextField is destroyed while Button2 is being pressed. 6. Fix defect where XmTextField doesn't paste cut buffer under japanese environment. 7. Fix defect causing Xlib fatal IO error when application opens more than 64 files. 8. Fix defect preventing paste into text field widget. PHSS_9356: 1. Fixes a defect that only allows menu to be torn off once. 2. Fixes a core dump with the index box in DtHelp. 3. Fixes a core dump when using XmListReplaceItemPos and XtSetValues. 4. Fixes a defect wherein XmClipboard modifies the event mask of the root window. 5. Fixes a bug in Motif that causes the X Server to generate a BadValue error when the client specifies a pixmap button with all bits 0. 6. Fixes a color problem in the ToggleButtonGadget. 7. Fixes miscolored menus in private colormap apps. 8. Fixes a defect in resizing TexField widgets managed by a Rowcolumn widget. PHSS_9193: 1. Attempts to simultaneously open Xserver connections from many processes may result in "can't open display" error. PHSS_8971: 1. Fix problem with infinite recursion in subclassed list widgets. PHSS_8708: 1. Applys an X consortium fix to libXt for a potentially serious problem. PHSS_7743: 1. Fix problem with preedit string overwriting status string. 2. Fix core dumps when IM server dies. 3. Fix for pershell core dump and badwindow problem. 4. Motif menu behavior was broken due to a previous fix on F10 Key. 5. Remove fprintf from Async I/O error. Defect Description: PHSS_11046: See associated defect reports for explanation. PHSS_10688: See associated defect reports for explanation. PHSS_10480: See associated defect reports for explanation. PHSS_9812: See associated defect reports for explanation. PHSS_9356: See associated defect reports for explanation. PHSS_9193: See associated defect reports for explanation. PHSS_8971: See associated defect reports for explanation. PHSS_8708: See associated defect reports for explanation. PHSS_7743: See associated defect reports for explanation. SR: 4701349183 1653210955 1653208918 1653211193 5003312652 5003360776 5003347922 1653189878 1653190744 1653194167 1653197129 1653198051 1653201855 4701346460 5003344531 1653163568 1653186890 5003334987 1653182675 4701341487 1653188151 4701335323 1653186494 5003314005 Patch Files: /usr/lib/X11R5/libX11.1 /usr/lib/X11R5/libXhp11.1 /usr/lib/X11R5/libXt.1 /usr/lib/Motif1.2/libXm.1 what(1) Output: /usr/lib/X11R5/libX11.1: X Window System, Version 11 R5+ HP-UX B.10.10.00 May 1997 Patch Release (build date: Wed Jun 11 15:06:11 PDT 1997) /usr/lib/X11R5/libXhp11.1: $Revision: 1.4 $ X Window System, Version 11 R5+ HP-UX B.10.10.00 May 1997 Patch Release (build date: Tue May 13 11:10:29 PDT 1997) /usr/lib/X11R5/libXt.1: X Window System, Version 11 R5+ HP-UX B.10.10.00 May 1997 Patch Release (build date: Fri Jun 6 09:41:49 PDT 1997) /usr/lib/Motif1.2/libXm.1: OSF/Motif Version 1.2.6 X Window System, Version 11 R5+ HP-UX B.10.10.00 May 1997 Patch Release (build date: Tue May 13 12:03:30 PDT 1997) cksum(1) Output: 2311550681 847872 /usr/lib/X11R5/libX11.1 1930616943 81920 /usr/lib/X11R5/libXhp11.1 816826990 417792 /usr/lib/X11R5/libXt.1 510933748 2293760 /usr/lib/Motif1.2/libXm.1 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_7743 PHSS_8708 PHSS_8971 PHSS_9193 PHSS_9356 PHSS_9812 PHSS_10480 PHSS_10688 Equivalent Patches: None Patch Package Size: 3620 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 PHSS_11046 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_11046.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/PHSS_11046.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/PHSS_11046. 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 PHSS_11046.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/PHSS_11046.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None