Patch Name: PHSS_29202 Patch Description: s700_800 10.20 CDE DevKit Patch Creation Date: 03/05/30 Post Date: 03/06/27 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: CDE Developer Kit B.10.20.00 B.10.20.01 B.10.20.02 Filesets: CDEDevKit.CDE-DEMOS,B.10.20.00,B.10.20.01,B.10.20.02 CDEDevKit.CDE-PRG,B.10.20.00,B.10.20.01,B.10.20.02 CDEDevKit.CDE-MAN-DEV,B.10.20.00,B.10.20.01,B.10.20.02 Automatic Reboot?: No Status: General Release Critical: No (superseded patches were critical) PHSS_22340: ABORT PHSS_18426: CORRUPTION ABORT PHSS_11148: HANG ABORT Path Name: /hp-ux_patches/s700_800/10.X/PHSS_29202 Symptoms: PHSS_29202: 1. Problem with dtterm. 2. Problem with dtaction. 3. xterm, hpterm and dtterm were not updating the wtmp file, when invoked with -ls option. PHSS_27878: 1. Invoking terminal with -e option does not show correct IDLE time when viewed by 'w' command. 2. Problem with dtspcd. 3. Changing certain CDE applications so that they always use the message catalogs in "/usr/dt/lib/nls/msg/%L". 4. Problems in DtSvc. PHSS_25193: 1. kana_ME character cannot be entered into a CDE workspace title. PHSS_23799: 1. TT_AUTHFILE_ENTRY_MISSING error is not reported correctly in syslog file. 2. libtt.1 seems to have unresolved external references. 3. dtfile consumes cpu/memory when it tries to open a folder of large size. 4. Buffer overflow in help search string causes core dump. 5. Warnings in swagent.log file. PHSS_22340: 1. Dtterm -tm to change a tty setting does not give proper result, for invalid entries. 2. Core dump selecting text from display of CDE help files. 3. dtterm cannot handle more than 32k savelines. 4. dtfile fails on NFS mounted files with no read permissions. 5. dtterm problem with -tn option. 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_29202: 1. Problem with dtterm. Resolution: The problem with dtterm is resolved. 2. Problem with dtaction. Resolution: The problem with dtaction is fixed. 3. dtterm, hpterm, and xterm do not create entries in wtmp. Resolution: The xterm, hpterm and dtterm were modified to update the /etc/wtmp file when invoked with -ls option. PHSS_27878: 1. xterm -e program fails to report correct idle time when viewed by 'w' command. Resolution: The solution updates the access time of the tty file whenever -e option of terminal is used. 2. Problem with dtspcd. Resolution: Problem with dtspcd is resolved. 3. Changing certain CDE applications so that they always use the message catalogs in "/usr/dt/lib/nls/msg/%L". Resolution: dtsession, dtmail, dtaction, dtprintinfo and dtterm are changed so that they always use the message catalogs in "/usr/dt/lib/nls/msg/%L" and hpterm uses those in "/usr/lib/nls/msg/%L". 4. Problems in DtSvc. Resolution: Problems in DtSvc are fixed. PHSS_25193: 1. kana_ME character cannot be entered into a CDE workspace title. Resolution: kana_ME character can be entered into a CDE workspace title. PHSS_23799: 1. TT_AUTHFILE_ENTRY_MISSING error not reported correctly. Resolution: Proper error message "TT_AUTHFILE_ENTRY_MISSING" is logged into syslog file, if TT_AUTHFILE is missing. 2. libtt.1 seems to have unresolved external references. Resolution: libtt.1 does not have any unresolved external references. 3. dtfile consumes cpu/memory when it tries to open a folder of large size. Resolution: dtfile will not consume cpu/memory when it opens folders of any size. 4. Problem in dtprintinfo. Resolution: Buffer overflow is prevented in libDtHelp to avoid core dump. 5. PHSS_18426 postinstall script fails to swmodify IPD for X11MotifDevKit. Resolution: Code is added to the postinstall script to modify the IPD and eliminate the warnings in the swagent.log file. PHSS_22340: 1. Dtterm -tm to disable a tty setting does not work. Resolution: Proper validation has been added so that the -tm option in dtterm gives proper results for invalid entries. 2. Core dump selecting text from display of CDE help files. Resolution: Fix was done to make dthelpview function properly when text is selected from display and scrolled down vertically. 3. dtterm cannot handle more than 32k saveLines. Resolution: The fix has been made in dtterm to make it handle more than 32k savelines. 4. dtfile fails on NFS mounted file with no read permissions. Resolution: Fix has been made so that dtfile will display a NFS mounted file with no read permissions. 5. dtterm problem. Resolution: Error Checking has been introduced to avoid the problem with dtterm -tn option. 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: 8606296536 8606296537 8606193796 8606235437 8606225329 8606231863 8606280479 8606181140 8606144170 8606156317 8606178908 8606183236 8606131946 5003462663 8606108885 8606125281 8606126450 8606155712 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 CDE Patch Release (build date: Fri Oct 11 16:43:02 IST 2002) /usr/dt/lib/libDtSvc.a: libDtSvc: $Revision: 1.5 $ X Window System, Version 11 R6+ HP-UX B.10.20.00 CDE Patch Release (build date: Mon May 26 19:47:06 IST 2003) /usr/dt/lib/libDtWidget.a: libDtWidget: $Revision: 1.4 $ X Window System, Version 11 R6+ HP-UX B.10.20.00 CDE Patch Release (build date: Fri Oct 11 16:40:50 IST 2002) /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 CDE Patch Release (build date: Mon May 26 20:53:39 IST 2003) /usr/dt/lib/libtt.a: X Window System, Version 11 R6+ HP-UX B.10.20.00 May 2001 Patch Release (build date: Sat Apr 7 06:14:44 IST 2001) /usr/dt/share/man/man3.Z/DtWsmSetCurrentWorkspace.3: None /usr/dt/share/examples/dtterm/Makefile: None cksum(1) Output: 3679151826 881074 /usr/dt/lib/libDtHelp.a 291779299 718048 /usr/dt/lib/libDtSvc.a 1013722336 327608 /usr/dt/lib/libDtWidget.a 2738717924 453104 /usr/dt/lib/libDtTerm.a 860967532 1588642 /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 PHSS_20858 PHSS_22340 PHSS_23799 PHSS_25193 PHSS_27878 Equivalent Patches: None Patch Package Size: 1390 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_29202 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_29202.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_29202. 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_29202.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_29202.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: The CDE environment must not be running when this patch is installed. The CDE environment can 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 with the following commands: - /usr/dt/bin/dtconfig -e - /sbin/init.d/dtlogin.rc start