Patch Name: PHSS_12375 Patch Description: s700_800 10.20 X11R5/Motif1.2 DevKit Sept97 Periodic patch Creation Date: 97/09/05 Post Date: 97/09/12 Warning: 97/10/02 - This Critical Warning has been issued by HP. - This patch introduces several problems for X11/Motif1.2 applications: 1. Label widgets using XmLabel widgets will be displayed incorrectly. Symptoms include clipped labels on pushbuttons, labels, and other Motif widgets that use the XmLabel widget class. Any application that uses libXm can be affected. 2. XmRowColumn widgets may be sized incorrectly. This can affect the size of dialog boxes, resulting in information being clipped in the dialog box. 3. Programs may core dump if root runs the program with an invalid DISPLAY variable. The invalid DISPLAY could be due to an operator error or because the Xserver pointed to by DISPLAY has not allowed access. This can also occur for programs run by normal users that are setuid to root, such as hpterm and Xterm. Programs linked with libXt are affected. - It is recommended that PHSS_12375 be removed from any systems developing X11/Motif1.2 applications as soon as possible. The superseded patch, PHSS_11629, will be re-released until a replacement patch is available. Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: HP-UX X11R5 Developer's Toolkit B.10.20 Filesets: X11MotifDevKit.X11R5-PRG X11MotifDevKit.MOTIF12-PRG Automatic Reboot?: No Status: General Superseded With Warnings Critical: Yes PHSS_12375: ABORT refer to symptoms and associatedf defect reports. PHSS_11629: ABORT refer to symptoms and associatedf defect reports. PHSS_11047: ABORT refer to symptoms and associatedf defect reports. PHSS_9813: ABORT refer to symptoms and associatedf defect reports. PHSS_7744: ABORT refer to symptoms and associatedf defect reports. Path Name: /hp-ux_patches/s700_800/10.X/PHSS_12375 Symptoms: PHSS_12375: 1. Fix problem in XmLabel that results in loss of justification after text has been updated. 2. Fix defect causing Xserver swap requirements to grow without bound. 3. Fix defect in XtInitializeWidgetClass() which results in a NULL reference on MessageBox widget class. 4. Fix defect causing xclients to core dump with bus error when DISPLAY variable is not set. PHSS_11629: 1. Fix failure in drag-n-drop within single program that results from both sending and receiving code trying to free the same block of memory PHSS_11047: 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. 3. TextFieldWidget (but not TextWidget) loses data after 32 characters in Japanese locale and input method. 4. Fix condition whereby a string copy of an environment variable could overflow a stack buffer. 5. Fix memory leak in XmScrollBar resulting from mismatched Get/Install pixmap calls. 6. Fix for incorrect length value being returned by XmTextFieldGetMaxLength(). 7. Fix defect in drag and drop resulting in segmentation violation when incremental transfer is enabled. PHSS_9813: 1. Fix defect that prevents tearing off a menu more than once. 2. Fix defect that causes the background of a Toggle ButtonGadget not to be painted with the appropriate background color when pushed. 3. Fix defect where launching many X/Motif programs in rapid succession would cause the Xserver to fail. 4. Fix defect where XmClipboard modifies the event-mask on the root-window. 5. Fix defect where Motif program dumps core when using XmListReplaceItemPos and XtSetValues. 6. Fix defect where creating a pixmap button with all bits set to 0 causes a BadValue error from Motif. 7. Fix defect where the TextField widgets do not resize properly when a RowColumn parent widget is resized. 8. Fix memory leak where highlighting text continuously causes the Text widget to consume more and more memory until the program aborts. 9. Fix defect where a toggle button's background color may be incorrectly set to indicate "armed" when it is not. 10. 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. 11. Fix defect where the list widget ignores the specified fontList resource and uses the (default) fixed font instead. 12. Fix defect where Motif dumps core if XmTextField is destroyed while Button2 is being pressed. 13. Fix defect where XmTextField doesn't paste cut buffer under japanese environment. 14. Fix defect causing Xlib fatal IO error when application opens more than 64 files. 15. Fix defect causing a core dump when bringing up an index box with dtHelp. 16. Fix defect preventing paste into text field widget. PHSS_8709: 1. Applys an X consortium fix to libXt for a potentially serious problem. PHSS_7744: 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. 6. Missing symbolic links for X11/Motif *.sl libraries Defect Description: PHSS_12375: See associated defect reports for explanation. PHSS_11629: See associated defect reports for explanation. PHSS_11047: See associated defect reports for explanation. PHSS_9813: See associated defect reports for explanation. PHSS_8709: See associated defect reports for explanation. PHSS_7744: See associated defect reports for explanation. SR: 1653215095 1653220525 1653226076 5003366336 5003375428 1653215996 5003347922 5003360776 4701349183 1653210955 1653208918 1653211193 1653163568 1653182675 1653186494 1653186890 1653188151 1653189878 1653190744 1653194167 1653197129 1653198051 1653201855 4701335323 4701341487 4701346460 5003334987 5003344531 5003314005 5003312652 Patch Files: /usr/lib/X11R5/libX11.a /usr/lib/X11R5/libXhp11.a /usr/lib/X11R5/libXt.a /usr/lib/Motif1.2/libXm.a /usr/include/Motif1.2/Xm/VendorSEP.h /usr/include/Motif1.2/Xm/Xm.h /usr/include/Motif1.2/Xm/XmP.h /usr/include/Motif1.2/Xm/XmStrDefs.h /usr/share/man/man3.Z/XHPSSChange.3x what(1) Output: /usr/lib/X11R5/libX11.a: X Window System, Version 11 R5+ HP-UX B.10.10.00 May 1997 Patch Release (build date: Wed Jun 11 15:07:12 PDT 1997) /usr/lib/X11R5/libXhp11.a: $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:41 PDT 1997) /usr/lib/X11R5/libXt.a: X Window System, Version 11 R5+ HP-UX B.10.10.00 Sep t 1997 Patch Release (build date: Wed Sep 3 14:47:48 PDT 1997) /usr/lib/Motif1.2/libXm.a: OSF/Motif Version 1.2.6 X Window System, Version 11 R5+ HP-UX B.10.10.00 Sep t 1997 Patch Release (build date: Fri Sep 5 09:30:45 PDT 1997) /usr/include/Motif1.2/Xm/VendorSEP.h: None /usr/include/Motif1.2/Xm/Xm.h: OSF/Motif Version 1.2.6 /usr/include/Motif1.2/Xm/XmP.h: None /usr/include/Motif1.2/Xm/XmStrDefs.h: None /usr/share/man/man3.Z/XHPSSChange.3x: None cksum(1) Output: 3261841319 1023284 /usr/lib/X11R5/libX11.a 173864315 92512 /usr/lib/X11R5/libXhp11.a 325158164 429772 /usr/lib/X11R5/libXt.a 12087926 2280084 /usr/lib/Motif1.2/libXm.a 1528450945 3395 /usr/include/Motif1.2/Xm/VendorSEP.h 4040045341 44884 /usr/include/Motif1.2/Xm/Xm.h 412734693 85659 /usr/include/Motif1.2/Xm/XmP.h 2780050862 122846 /usr/include/Motif1.2/Xm/XmStrDefs.h 1195605978 3245 /usr/share/man/man3.Z/XHPSSChange.3x Patch Conflicts: None Patch Dependencies: s700: 10.20: PHSS_11628 s800: 10.20: PHSS_11628 Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_7744 PHSS_8709 PHSS_9813 PHSS_11047 PHSS_11629 Equivalent Patches: None Patch Package Size: 4060 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_12375 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_12375.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_12375.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_12375. 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_12375.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_12375.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None