Patch Name: PHSS_20858 Patch Description: s700_800 10.20 CDE DevKit MAR2000 Periodic Patch Creation Date: 00/01/12 Post Date: 00/03/29 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: CDE Developers Kit B.10.20.00 Filesets: CDEDevKit.CDE-DEMOS CDEDevKit.CDE-PRG CDEDevKit.CDE-MAN-DEV Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_20858 Symptoms: PHSS_20858: 1. "who -R" shows improper hostname who logged from dtterm, hpterm, xterm when the hostname is greater than 16 chars. 2. dtterm writes incorrect information in /etc/utmp, hence "who -u" returns incorrect information. 3. Missing line feed("\n") while saving dtpad files. PHSS_18426: 1. CDE - dtpad corrupts files without notice if target filesystem is full. 2. dtpad fails to open large (>~30Mb) files. 3. ER: rpc.ttdbserver to exclude systems in 'tt_dbexclude' config file. 4. Problem with dtspcd. 5. Buffer overflow in libdthelp. 6. Core dump bringing up index box with DtHelp. 7. Permissions problem in /usr/dt/bin/dtterm. 8. Wants dtterm to have an option to flush the log on each write. 9. root directory should not be in INFO file. PHSS_15796: 1) Fixed buffer overflow in DtSvc. 2) dthelpview cannot display utf8 characters correctly. 3) "DtTermDisplaySend" function can not handle a string greater than 1024 bytes 4) Unresolved symbol XtAppAddSignal caused by wrong links in /usr/dt/lib PHSS_14003: 1) ER: wants dtpad to show results of a find in the middle of the display. 2) 11.00 dthelptag inserts HP-ROMAN8 as charset for C locale. 3) CDE Development Kit man page directories have incorrect permissions. PHSS_12883: 1) dthelpprint - &ohm does not show up when helpfile is printed. 2) dthelp does not handle &sigspace correctly. PHSS_12139: 1) Fix condition whereby a string copy of an environment variable can overflow the stack buffer causing various applications to core dump. PHSS_11148: 1) DtWsmSetCurrentWorkspace returns the wrong RETURN VALUE. 2) Helpviewer hangs on help volume for C++. 3) core dump as soon as help/contents asked to xsnapadmin, or start. 4) HP CDE/VUE (newer version) adding 'newline' after !!emphasized!! text. PHSS_9885: 1) Duplicate symbol names in libDtSvc cause conflicts. 2) Index does not redisplay topic after choosing a second different topic. 3) dthelpview -man doesn't manage the text widget correctly if resize. ViewW. 4) dthelpview can't view a help volume index when one is empty. PHSS_8668: 1) libDtHelp uses the Default Visual and Default Root window to set up GC's and the visual information. Defect Description: PHSS_20858: 1. who -R shows improper 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. 2. Dtterm writes incorrect information in /etc/utmp, hence " who -u" returns incorrect information. Resolution: Fix has been made in dtterm to write the correct information in /etc/utmp."who -u" returns correct values after the fix. 3. Customer requesting dtpad add a line feed when a file is saved. Resolution: The line feed("\n") is added at the end of dtpad text file while saving. PHSS_18426: 1. CDE - dtpad corrupts files without notice if target filesystem is full. Resolution: Checked the return status of the write calls to monitor the error condition. 2. dtpad fails to open large (>~30Mb) files. Resolution: Fix involves display of error dialog when large files opened through dtpad under low memory conditions. 3. ER: rpc.ttdbserver to exclude systems in 'tt_dbexclude' config file. Resolution: Created capability for rpc.ttdbserver to exclude systems from the ttdb list. This was done by considering the list of hosts mentioned in /etc/tt/ttdb_exclude as hosts that are not to be contacted. 4. Problem with dtspcd. Resolution: Error checking for limits has been added and error dialogs are displayed when limits are exceeded. 5. Buffer overflow in libdthelp. Resolution: Included checks for boundary validations in Searchpath. 6. Core dump bringing up index box with DtHelp. Resolution: Dthelp was corrected to avoid core dump while bringing up index box with a particular Font set. 7. Permissions problem in /usr/dt/bin/dtterm. Resolution: The fix was made to set correct uid for temporary files created. 8. Wants dtterm to have an option to flush the log on each write. Resolution: The fix has been done to include the '-f' option to flush the buffer on to the log file as and when an entry is made on dtterm. 9. The actual mode, owner and group of CDEDevKit filesets after installation does not match with that given in the INFO file of all the CDEDevKit filesets. Resolution: Added script in postinstall script to change the ipd value of the root directory INFO. PHSS_15796: 1) Fixed buffer overflow in DtSvc. 2) dthelpview cannot display utf8 characters correctly. 3) "DtTermDisplaySend" function can not handle a string greater than 1024 bytes 4) Unresolved symbol XtAppAddSignal caused by wrong links in /usr/dt/lib PHSS_14003: 1) ER: wants dtpad to show results of a find in the middle of the display. 2) 11.00 dthelptag inserts HP-ROMAN8 as charset for C locale. 3) CDE Development Kit man page directories have incorrect permissions. PHSS_12883: 1) dthelpprint - &ohm does not show up when helpfile is printed. 2) dthelp does not handle &sigspace correctly. PHSS_12139: 1) Fix condition whereby a string copy of an environment variable can overflow the stack buffer causing various applications to core dump. PHSS_11148: 1) DtWsmSetCurrentWorkspace returns the wrong RETURN VALUE. 2) Helpviewer hangs on help volume for C++. 3) core dump as soon as help/contents asked to xsnapadmin, or start. 4) HP CDE/VUE (newer version) adding 'newline' after !!emphasized!! text. PHSS_9885: 1) Duplicate symbol names in libDtSvc cause conflicts. 2) Index does not redisplay topic after choosing a second different topic. 3) dthelpview -man doesn't manage the text widget correctly if resize. ViewW. 4) dthelpview can't view a help volume index when one is empty. PHSS_8668: 1) libDtHelp uses the Default Visual and Default Root window to set up GC's and the visual information. SR: 8606102998 8606104358 5003432401 5003360545 4701421487 4701410621 1653257485 5003386656 5003394171 4701336693 5003342246 1653199927 5003362095 1653211110 4701369611 4701369629 Patch Files: /usr/dt/share/examples/dtterm/Makefile /usr/dt/lib/libDtHelp.a /usr/dt/lib/libDtSvc.a /usr/dt/lib/libDtWidget.a /usr/dt/lib/libDtTerm.a /usr/dt/share/man/man3.Z/DtWsmSetCurrentWorkspace.3 /usr/dt/lib/libtt.a what(1) Output: /usr/dt/lib/libDtHelp.a: libDtHelp: $Revision: 2.12 $ X Window System, Version 11 R6+ HP-UX B.10.20.00 Jun e 1999 Patch Release (build date: Mon May 10 12:06:28 MDT 1999) /usr/dt/lib/libDtSvc.a: libDtSvc: $Revision: 1.5 $ X Window System, Version 11 R6+ HP-UX B.10.20.00 Jun e 1999 Patch Release (build date: Mon May 10 10:27:35 MDT 1999) /usr/dt/lib/libDtWidget.a: libDtWidget: $Revision: 1.4 $ X Window System, Version 11 R6+ HP-UX B.10.20.00 Mar ch 2000 Patch Release (build date: Mon Feb 21 18:37:00 IST 2000) /usr/dt/lib/libDtTerm.a: DtTermPrimitiveWidget: $Revision: 1.196 $ libDtTerm: $Revision: 1.172 $ X Window System, Version 11 R6+ HP-UX B.10.20.00 Mar ch 2000 Patch Release (build date: Wed Feb 23 17:36:40 IST 2000) /usr/dt/lib/libtt.a: X Window System, Version 11 R6+ HP-UX B.10.20.00 Jun e 1999 Patch Release (build date: Mon May 10 06:57:56 MDT 1999) /usr/dt/share/man/man3.Z/DtWsmSetCurrentWorkspace.3: None /usr/dt/share/examples/dtterm/Makefile: None cksum(1) Output: 3694001652 881002 /usr/dt/lib/libDtHelp.a 2213424948 716724 /usr/dt/lib/libDtSvc.a 1734075581 327600 /usr/dt/lib/libDtWidget.a 3627124124 448568 /usr/dt/lib/libDtTerm.a 3614520969 1567462 /usr/dt/lib/libtt.a 1349443970 1253 /usr/dt/share/man/man3.Z/ DtWsmSetCurrentWorkspace.3 2774786901 1190 /usr/dt/share/examples/dtterm/Makefile Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_8668 PHSS_9885 PHSS_11148 PHSS_12139 PHSS_12883 PHSS_14003 PHSS_15796 PHSS_18426 Equivalent Patches: PHSS_20862: s700: 11.00 s800: 11.00 Patch Package Size: 3920 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_20858 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_20858.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_20858. 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_20858.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_20858.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: Please note: The CDE environment must not be running when this patch is installed. If it is, you will receive warnings that text files are busy. SD will move these aside and place the new files in the appropriate location, but it is recommended that CDE first be shutdown prior to patch installation. The CDE environment may be shut down by running the following commands as root: - /usr/dt/bin/dtconfig -d - /usr/dt/bin/dtconfig -kill Note that these commands will terminate all CDE sessions for all CDE users. Once the patch has been installed, you may start CDE back up by doing: - /usr/dt/bin/dtconfig -e - /sbin/init.d/dtlogin.rc start