Patch Name: PHSS_21076 Patch Description: s700_800 10.20 XClients MAR2000 Periodic Patch Creation Date: 00/03/02 Post Date: 00/03/29 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: N/A Filesets: X11.X11-RUN-CTRB X11.X11-RUN-CL X11.X11-RUN X11.X11-RUN-MAN X11.X11-RUN-CL-MAN Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_21076 Symptoms: PHSS_21076: 1. Supported xterm has problem with User ID > 60,000. 2. mwm - Unexpected termination with error message "mwm: Couldn't find per display information". 3. "who -R" shows inproper hostname who logged from dtterm, hpterm, xterm when the hostname is greater than 16 chars. 4. hpterm(1) says /usr/etc/X11/Xconsoles, should be /etc/X11/Xconsoles. 5. Buffer overflows. PHSS_17830: Problem with hpterm library access. PHSS_17332: 1) Include iso_8859.15 related changes. PHSS_15431: Potential buffer overflow in xterm. PHSS_13560: xterm and hpterm behave incorrectly on 10.20 when a user with a large UID invokes them. PHSS_11309: This patch is a replacement for patch PHSS_9799. PHSS_9799 inadvertently reversed the fix made by PHSS_9343, so PHSS_9799 must be replaced by this patch. If PHSS_9799 has not been installed, this patch should be installed anyway, in order to get the fixes described below under PHSS_9799. PHSS_11275: xwd, when working with multiple visuals, created an output file which could not be handled by most other imaging tools. These tools usually are capable of handling xwd output. PHSS_9801: xwd is unable to dump the contents of an obscuring window that is double-buffered. xterm -t causes BadWindow error from Xlib. xterm is inconsistent in the way that it allows access from different user groups. PHSS_9799: hpterm aborts when receiving escape sequence to enable messageBox. hpterm does not correctly handle some application-generated escape sequences. PHSS_9343: A serious hpterm defect described in SR 4701341354. PHSS_7674: The following symptoms correspond to the descriptions in the defect descriptions field for PHSS_7674: 1. Hpterms from 10.10 to a 9.X system have the wrong value for $LINES and $COLUMNS. Defect Description: PHSS_21076: 1. Supported xterm has problem with User ID > 60,000. Resolution: xterm supports user id > 60,000 after this fix. 2. The mwm has same problem as SR#5003306415. Resolution: mwm is fixed to ensure that it does not die on receiving empty event structure. 3. who -R shows inproper hostname who logged from hpterm, xterm, dtterm. Resolution: Fix was made so that "who -R" shows proper hostname for users using dtterm, hpterm,xterm when the hostname is greater than 16 chars. 4. hpterm(1) says /usr/etc/X11/Xconsoles, should be /etc/X11/Xconsoles. Resolution: The fix has been made to give the correct path for Xconsoles in man hpterm(1). 5. Buffer Overflows. Resolution: Buffer overflow problem fixed. PHSS_17830: Problem with hpterm library access. Resolution: Fixed the library access problem in hpterm. PHSS_17332: 1) Include iso_8859.15 related changes. Resolution: This is an enhancement with the introduction of a new codeset iso_8859.15 for euro related functionalities. PHSS_15431: Potential buffer overflow in xterm. PHSS_13560: Since xterm and hpterm were not built under 10.20 build environment, they could not handle large UID. In this patch both are built under 10.20 build environment. PHSS_11309: An error in the construction of PHSS_9799 reversed the fix made in PHSS_9343. PHSS_11275: xwd, when working with multiple visuals, created an output file which could not be handled by most other imaging tools. These tools usually are capable of handling xwd output. PHSS_9801: xwd is unable to dump the contents of an obscuring window that is double-buffered. xterm -t causes BadWindow error from Xlib. xterm is inconsistent in the way that it allows access from different user groups. PHSS_9799: hpterm does not correctly handle some application-generated escape sequences. PHSS_9343: A serious hpterm defect that manifests itself on 10.20 systems and is described in SR 4701341354 is fixed. PHSS_7674: The following defect descriptions are for PHSS_7674: 1. This was caused by a workaround for a libXm defect on 10.10. The defect has been fixed and the workaround has been removed. SR: 8606108880 8606109845 8606102998 8606113980 4701418806 4701395731 1653170654 1653188631 4701335463 4701341354 5003300996 5003339036 5003354027 5003361253 5003399667 Patch Files: /usr/bin/X11/mwm /usr/share/man/man1.Z/hpterm.1 /usr/bin/X11/xwd /usr/share/man/man1.Z/xwd.1 /usr/contrib/bin/X11/xterm /usr/bin/X11/xterm /usr/bin/X11/hpterm /usr/lib/X11/nls/XhpV3/iso885915 /usr/lib/X11/nls/XhpV3/iso885915@euro what(1) Output: /usr/bin/X11/xterm: X Window System, Version 11 R5+ HP-UX B.10.20.000223 March 2000 Periodic Patch (build date: Wed Feb 23 15:31:06 IST 2000) xterm: $Revision: 1.16 $ /usr/bin/X11/hpterm: X Window System, Version 11 R5+ HP-UX B.10.20.000225 March 2000 Periodic Patch (build date: Fri Feb 25 19:53:04 IST 2000) hpterm: $Revision: 2.130 $ /usr/bin/X11/xwd: X Window System, Version 11 R6+ HP-UX B.10.20.00 Jul y 1997 Patch Release (build date: Fri May 23 13:50:07 PDT 1997) /usr/bin/X11/mwm: OSF/Motif mwm 1.2.4 Release /usr/contrib/bin/X11/xterm: X Window System, Version 11 R6+ HP-UX B.10.20.00 Mar ch 2000 Patch Release (build date: Mon Feb 28 10:58:25 IST 2000) /usr/lib/X11/nls/XhpV3/iso885915: None /usr/lib/X11/nls/XhpV3/iso885915@euro: None /usr/share/man/man1.Z/xwd.1: None /usr/share/man/man1.Z/hpterm.1: None cksum(1) Output: 448292136 294912 /usr/bin/X11/xterm 1425246566 299008 /usr/bin/X11/hpterm 3647585407 49152 /usr/bin/X11/xwd 3390260047 278528 /usr/bin/X11/mwm 2691488124 454656 /usr/contrib/bin/X11/xterm 2799337247 541 /usr/lib/X11/nls/XhpV3/iso885915 2799337247 541 /usr/lib/X11/nls/XhpV3/iso885915@euro 2738382902 3443 /usr/share/man/man1.Z/xwd.1 4203738372 17263 /usr/share/man/man1.Z/hpterm.1 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_7674 PHSS_9343 PHSS_9799 PHSS_9801 PHSS_11275 PHSS_11309 PHSS_13560 PHSS_15431 PHSS_17332 PHSS_17830 Equivalent Patches: PHSS_20866: s700: 11.00 s800: 11.00 Patch Package Size: 1430 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_21076 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_21076.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_21076. 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_21076.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_21076.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None