Chase
bca385079b
programs/backdrops: add automake files
2019-10-23 15:34:20 -06:00
Chase
b055acde4a
programs: add automake file
2019-10-23 15:34:20 -06:00
wmoxam
14e385d175
Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used
2019-10-17 20:34:14 -06:00
Jon Trulson
ab863f212d
dtmail: fix extra format args warnings
2019-10-15 21:22:11 -06:00
Jon Trulson
a38f72c0c8
dtmail: fix NULL char embedded in format string
2019-10-15 21:12:17 -06:00
wmoxam
ab741a1241
'notdef' means it's not used, so we remove it
2019-10-15 20:32:13 -06:00
wmoxam
de81a5b518
Remove ancient HP VUE compatibility support
2019-10-15 20:32:05 -06:00
wmoxam
ca9cdf6cfc
Remove 'oldcode'
2019-10-14 15:54:43 -06:00
wmoxam
d380b0fac6
Remove legacysun code blocks
2019-10-14 15:54:33 -06:00
wmoxam
e1e2004696
Remove unused HP_EXTENSIONS code blocks
2019-10-14 15:54:25 -06:00
Jon Trulson
7f414f5d35
dtpad: emit error on catopen() failure
...
This patch was manually added via a diff supplied from a user on the
CDE mailing list: Michele Ghisolfo <ghisolfo.m@gmail.com>
2019-10-14 14:42:21 -06:00
Jon Trulson
1972d3e378
dtfile: Add scroll wheel support
...
This patch was manually added via a diff supplied from a user on the
CDE mailing list: Michele Ghisolfo <ghisolfo.m@gmail.com>
2019-10-14 14:34:56 -06:00
Jon Trulson
fd3cffcb37
dtcalc: increase highlight thickness to match Solaris CDE
...
This patch was manually added via a diff supplied from a user on the
CDE mailing list: Michele Ghisolfo <ghisolfo.m@gmail.com>
2019-10-14 14:30:58 -06:00
wmoxam
923951b414
Remove NOTDONE code
2019-10-14 11:57:41 -06:00
Jon Trulson
511c2bb427
Merge /u/jrubio/cdesktopenv/ branch discarded-qualifiers into master
...
https://sourceforge.net/p/cdesktopenv/code/merge-requests/17/
2019-10-13 17:09:04 +00:00
Jon Trulson
08a49581b7
Merge /u/jrubio/cdesktopenv/ branch delete-incomplete into master
...
https://sourceforge.net/p/cdesktopenv/code/merge-requests/18/
2019-10-13 17:06:14 +00:00
Jose Rubio
08cea15be5
get rid of the 'extern sys_errlist' and 'sys_nerr' in SysErrorMsg.
2019-10-13 10:23:49 +02:00
Jon Trulson
2e4deb41c0
Merge branch 'master' into utf8-conversion, after 2.3.0a release
2019-10-12 19:17:42 -06:00
Jon Trulson
34b5ee08c8
Merge /u/jrubio/cdesktopenv/ branch incompatible-pointer-types into master
...
https://sourceforge.net/p/cdesktopenv/code/merge-requests/16/
2019-10-12 21:43:45 +00:00
Jose Rubio
5c56c32d17
Fixes for a few -Wincompatible-pointer-types
2019-10-12 22:29:44 +02:00
Jon Trulson
e05d138c4c
Merge /u/jrubio/cdesktopenv/ branch int-conversion into master
...
https://sourceforge.net/p/cdesktopenv/code/merge-requests/14/
2019-10-11 23:58:44 +00:00
Jose Rubio
c900cedbc9
Fix to delete-incomplete warnings.
2019-10-11 13:43:08 +02:00
Jose Rubio
0086a7067e
Fix to compile warnings.
...
* discarded-qualifiers warnings.
* Function definitions, the .h doesn't match the .c.
* Added some include to ensure the .c has function definition.
2019-10-11 10:49:48 +02:00
Jose Rubio
f9790767f3
Fix to different compile warnings.
...
Fix to multiple int-conversion
Removal of duplicated function definition in dtudcfonted/util.h
Added XtEventHandler prototypes to mtfgui
2019-10-10 19:59:40 +02:00
Jose Rubio
20ba7550cd
Fix to Wenum-compare
...
It seems the purpose is to define a constant as an anonymous enum.
that behaviour triggers the enum compare. Let's make it a constant.
2019-10-10 17:01:56 +02:00
Jon Trulson
ddc3c8857b
Merge branch 'master' into utf8-conversion
2019-09-16 13:24:18 -06:00
Jose Rubio
507665352f
Link TCL libraries and restrict tcl8.6 to SuSE only.
2019-09-16 14:58:21 +02:00
Jon Trulson
1ebd1a2416
Merge /u/jrubio/cdesktopenv/ branch implicit-int into master
...
https://sourceforge.net/p/cdesktopenv/code/merge-requests/9/
2019-09-12 22:14:19 +00:00
Jon Trulson
6e23c81914
Merge /u/jrubio/cdesktopenv/ branch pointer-compare into master
...
https://sourceforge.net/p/cdesktopenv/code/merge-requests/8/
2019-09-12 22:11:52 +00:00
Jon Trulson
086672e193
Merge /u/jrubio/cdesktopenv/ branch dtksh_include_sys_sysmacros into master
...
https://sourceforge.net/p/cdesktopenv/code/merge-requests/10/
2019-09-12 22:02:51 +00:00
Jose Rubio
51db5ff378
Fix for deprecated warnings related to gnu libc sys macros.
...
The patch only includes sysmacros for linux, the only target with gnu libc to avoid regression issues.
2019-09-12 13:10:02 +02:00
Jon Trulson
b53728d3b3
ksh/libast: include sys/sysmacros.h in fmtdev.c for linux systems
...
Fix scraped from CDE forum post:
https://sourceforge.net/p/cdesktopenv/discussion/general/thread/24d7511a39/
2019-09-11 17:39:30 -06:00
Jose Rubio
f0c312b207
Fixes for warnings related to -Wimplicit-int.
2019-08-20 12:52:43 +02:00
Jose Rubio
db7370b62b
Cleanup of -Wpointer-compare warnings.
2019-08-19 18:02:25 +02:00
Jon Trulson
05d231606e
dtprintinfo: correct another possible buffer overflow
2019-05-07 11:21:49 -06:00
Jon Trulson
30cd56ac38
dtprintinfo: Fix a potential exploitable buffer overrun
...
This fixes a potentially exploitable buffer overrun in dtprintinfo.
This was brought to my attention based on a 0day exploit released for
Solaris CDE.
The exploit code does not work (or build) on linux, and the overrun is
in the heap rather than the stack as on Solaris, but it's easy to see
how this could be exploited.
The following is the content of the advisory:
8<-----------------------------------------------------------
@Mediaservice.net (Cybaze Group) Security Advisory #2019-01 (2019-05-07)
Title: Local privilege escalation via CDE dtprintinfo
Application: Common Desktop Environment 2.3.0 and earlier
Platforms: Oracle Solaris 10 1/13 (Update 11) and earlier
Description: A local attacker can gain root privileges by exploiting
a buffer overflow in CDE dtprintinfo
Author: Marco Ivaldi <marco.ivaldi@mediaservice.net>
Contributor: Dave Aitel <dave.aitel@cyxtera.com> (original discovery)
Vendor Status: <secalert_us@oracle.com> notified on 2019-05-05
<cdesktopenv-devel@lists.sourceforge.net> notified on 2019-05-05
CVE: The Common Vulnerabilities and Exposures project has not assigned
a name to this issue yet
References: https://lab.mediaservice.net/advisory/2019-01-cde-dtprintinfo.txt
https://github.com/0xdea/raptor_infiltrate19
https://sourceforge.net/p/cdesktopenv/wiki/Home/
https://www.oracle.com/technetwork/server-storage/solaris10/
https://www.mediaservice.net/
https://infiltratecon.com/
1. Abstract.
A buffer overflow in the DtPrinterAction::PrintActionExists() function in the
Common Desktop Environment 2.3.0 and earlier, as used in Oracle Solaris 10 1/13
(Update 11) and earlier, allows local users to gain root privileges via a long
printer name passed to dtprintinfo by a malicious lpstat program.
This is a 0day vulnerability demonstrated at #INFILTRATE19 on May 2nd, 2019 in
the talk "A bug's life: story of a Solaris 0day".
2. Example Attack Session.
bash-3.2$ cat /etc/release
Oracle Solaris 10 1/13 s10x_u11wos_24a X86
Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved.
Assembled 17 January 2013
bash-3.2$ uname -a
SunOS nostalgia 5.10 Generic_147148-26 i86pc i386 i86pc
bash-3.2$ id
uid=54322(raptor) gid=1(other)
bash-3.2$ gcc raptor_dtprintname_intel.c -o raptor_dtprintname_intel -Wall
bash-3.2$ ./raptor_dtprintname_intel 192.168.1.1:0
raptor_dtprintname_intel.c - dtprintinfo 0day, Solaris/Intel
Copyright (c) 2004-2019 Marco Ivaldi <raptor@0xdeadbeef.info>
Using SI_PLATFORM : i86pc (5.10)
Using stack base : 0x8047fff
Using rwx_mem address : 0xfeffa004
Using sc address : 0x8047f60
Using strcpy() address : 0xfefe26a0
lpstat called with -v
lpstat called with -v
lpstat called with -d
uid=0(root) gid=1(other)
3. Affected Platforms.
All platforms shipping the Common Desktop Environment are potentially
affected. This includes:
* Oracle Solaris 10 1/13 (Update 11) and earlier [default installation]
According to the CDE Wiki, the following platforms are officially supported:
* All Official Ubuntu variants 12.04 - 18.04
* Debian 6, 7, 8, 9
* Fedora 17 at least
* Archlinux
* Red Hat
* Slackware 14.0
* OpenBSD
* NetBSD
* FreeBSD 9.2, 10.x, 11.x
* openSUSE Tumbleweed (gcc7)
* openSUSE Leap 4.2 (gcc4)
* SUSE 12 SP3 (gcc4)
* Solaris, OpenIndiana
4. Fix.
The upstream CDE maintainers have issued a patch for this vulnerability. Oracle
is investigating the issue via tracking# S1153109 and is expected to release a
fix for all affected-supported versions of Solaris via their quarterly Critical
Patch Update (CPU) program.
As a temporary workaround, it is possible to remove the setuid bit from the
dtprintinfo executable as follows:
bash-3.2# chmod -s /usr/dt/bin/dtprintinfo
5. Proof of Concept.
A working exploit for Oracle Solaris 10 1/13 (Update 11) Intel has been
developed as a proof of concept. Exploits for other Solaris versions and for
the SPARC architecture are also available. All exploits can be downloaded at:
https://github.com/0xdea/raptor_infiltrate19/
https://github.com/0xdea/exploits/
8<-----------------------------------------------------------
2019-05-07 11:21:49 -06:00
Jon Trulson
5cdeaf5b1f
NLS: fix quote issue with various OS's in C/types/_common.dt.tmsg
2019-02-24 12:58:31 -07:00
Jon Trulson
d6ece8fd00
Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code
2019-02-24 12:56:10 -07:00
Jon Trulson
c575ca9315
dtdockbook/instant: Add the proper paths for TCL on NetBSD
...
Patch submitted by Danilo Pecher <danilo.pecher@data-experts.biz>
2019-02-24 12:54:42 -07:00
Adam Sampson
ae499c794e
Explicitly initialise two more static pointers
...
"dtcm: Coverity 88006" fixed this for buf, but not for string in the
same function (and we may as well initialise string_head for consistency
too).
2019-01-26 00:07:36 +00:00
Adam Sampson
162c88b6ea
Don't dereference an uninitialised pointer
...
This was an incorrect fix in "dtcm: Coverity 88382".
2019-01-26 00:05:54 +00:00
Adam Sampson
a97ab71059
Avoid a NULL pointer dereference
...
"dtcm: Coverity 89051" fixed an instance of this on the previous line,
but not this one.
2019-01-26 00:03:34 +00:00
Jon Trulson
8ba629fcd1
Merge branch 'master' into utf8-conversion
2019-01-15 12:02:49 -07:00
Chase
4d7f9df692
Use iconv on linux
2019-01-14 10:48:28 -07:00
Alex Ivanov
b9f352df59
define M4Cmd
2019-01-08 19:48:47 -07:00
tu83
d5faa0360c
Fixed segfault for mode switching when compiled with clang
...
dtcalc compiled with clang segfaulted when switched
to a different mode like Deg to Rad or Financial to
Scientific. Was reproducable at least under FreeBSD/AMD64.
Fixed now.
2019-01-06 18:55:19 +01:00
Jon Trulson
2902373dbb
Merge branch 'master' into utf8-conversion
2018-11-08 14:51:46 -07:00
Jon Trulson
76721c2348
dtcalc/calctool.h: Use include stdlib rather than extern declarations
2018-11-08 14:19:25 -07:00
Jon Trulson
c876a76f4f
utf8 conversion: fix up seperation of locale and doc building
...
Docs (help and the dtinfo guides) are now always built using the
ISO8859-1 locale. To support UTF-8, our docbook needs to be updated
to something from this century, ideally this decade. In addition, a
conversion to XML would also be required as a result. So, until that
happens, use ISO8859-1 for docs.
However, other locale information, like message catalogs, resource
files, and the like are now converted to UTF-8.
All supported languages are now built by default on linux again.
2018-11-04 19:25:57 -07:00
Jon Trulson
63ad725508
UTF-8 conversion: programs/localized/sv_SE
2018-11-04 18:35:54 -07:00
Jon Trulson
8c73c01cb1
UTF-8 conversion: programs/localized/it_IT
2018-11-04 18:34:49 -07:00
Jon Trulson
592c6bc5d1
UTF-8 conversion: programs/localized/fr_FR
2018-11-04 18:34:43 -07:00
Jon Trulson
6867b04b1b
UTF-8 conversion: programs/localized/es_ES
2018-11-04 18:34:34 -07:00
Jon Trulson
c2997ba60c
UTF-8 conversion: programs/localized/de_DE
2018-11-04 18:34:23 -07:00
Jon Trulson
2c1f56d37c
Merge branch 'master' into cde-next
2018-11-04 10:56:04 -07:00
Matthew R. Trower
041788debc
Restore original `tail` functionality in ttsnoop, with POSIX args
2018-11-04 10:28:42 -07:00
Matthew R. Trower
012862e8ee
Add default TCLLIB, and allow override in host.def
...
Restores build on Sun, and maybe others.
2018-10-25 11:43:43 -06:00
Jon Trulson
2fb1f12654
dtdocbook/instant: add Tcl_GetErrorLine check for older versions of Tcl
2018-10-07 13:28:04 -06:00
chase
dd68514e4f
Remove hpversion.h from repository
...
This patch removes hpversion.h from the repository, this also untangles a
lot of ifdef mess. This closes bug CDExc19524.
2018-10-06 17:00:38 -06:00
chase
90a2b2848a
remove ultrix support
2018-09-30 17:27:04 -06:00
chase
d8c017caa2
gpftobdf.c: fix long int comiler warnings
2018-09-30 17:26:27 -06:00
Jon Trulson
2dadc23e0e
Merge branch 'master' into cde-next
2018-09-22 15:50:13 -06:00
Jon Trulson
77a027039c
docbook.tcl, instant: finish remaining help generation issues with tcl
...
In this commit, we convert FreeBSD and OpenBSD to use a system version
of TCL (8.6).
We also get rid of the hairy and buggy "CompareI18NStrings" custom Tcl
function and use the newer Tcl's builtin dictionary sort mechanism for
generating the Indexes and Glossaries, which were silently broken in
previous commits.
It was just not possible to use the same Tcl code in modern versions
of Tcl in addition to the ancient version included with CDE - so, now
we will always depend on the system version. It's been tested with
8.6 and 8.7 versions of Tcl with great results.
2018-09-22 12:27:27 -06:00
Jon Trulson
1fb82e3327
Remove ancient included tcl code
2018-09-22 12:27:09 -06:00
Jon Trulson
1c40db8eb0
dtdocbook/tcl/tcl.h: Add compatibility defines for old Tcl
...
dtdocbook/instant has been modified to use a more modern Tcl (8.6),
which means certain functions are not present when we are using the
dtdocbook/tcl (7.5) version of tcl instead of a modern system version.
So, create some defines that should work around this problem.
2018-09-20 16:50:28 -06:00
Jon Trulson
e82991579f
use system tcl: clean up Imake files for dtdocbook/instant
2018-09-19 17:49:15 -06:00
Jon Trulson
23c4c0667d
instant: encode 8bit chars to keep Tcl happy
2018-09-19 17:40:25 -06:00
Jon Trulson
7712950fb7
docbook/instant: fix a few more issues
2018-09-19 17:40:25 -06:00
Jon Trulson
776e031b60
docbook.tcl: fix up some problems using a modern Tcl
...
One issue that came up was attempting to read array values indexed by
a key that didn't exist when generating indexes and glossaries.
I am not sure why this hasn't been a problem before, but for now, we
simply won't try to emit array values for non-existant array indexes.
2018-09-19 17:40:25 -06:00
Jon Trulson
68559d4f76
tcl: use the system version, initial work only on linux for now
2018-09-19 17:40:25 -06:00
chase
d002967908
dtprintegrate: fix shellcheck warnings
2018-08-26 15:45:23 -06:00
chase
6f2d38aaa0
dtappintegrate.src and dtopen.src: fix shellcheck warnings
2018-08-26 15:45:08 -06:00
Jon Trulson
fa4d519aef
sgmls: remove from repository - we always use nsgmls
...
This was part of Chase's sgml removal patch, but was not properly
merged by me, leaving the files intact.
2018-08-26 13:17:46 -06:00
Jon Trulson
a29bd8937a
dtfile: Fix up CopyCheckDeletePermission() and CheckDeletePermission
...
Remove calls to bogus utility functions in cases where the user is
root and the filesystem in question is an NFS filesystem.
For now, __linux___ and CSRG_BASED machines will use statfs to
determine whether to test delete-ability. For other systems, just do
the create/delete test always if the user is root.
2018-08-25 17:38:48 -06:00
David Cantrell
9cb1f309f2
Patch out use of deprecated and now removed ustat(2) function on Linux.
...
dtfile makes use of ustat(2) on certain systems. This call has been
deprecated in glibc for a while and now, as of glibc-2.28, it has been
removed. The recommended replacement is to use statfs(2).
2018-08-25 17:10:02 -06:00
chase
fcdeb932d3
Dtdocbook: Remove old sgmls program
2018-08-25 16:54:16 -06:00
chase
d12ad886c1
Remove old windows support
2018-08-25 15:47:54 -06:00
chase
b491f9134f
Refactor and reimplement dtudcfonted
2018-08-18 16:37:36 -06:00
chase
0f1aaa3e46
Revert "Disable building of dtudcfonted and dtudcexch"
...
This reverts commit 7f70748d65 .
2018-08-18 16:37:36 -06:00
chase
6b713f12b5
Revert "dtudcfonted, dtudcexch: delete from repository"
...
This reverts commit e0036e6167 .
2018-08-18 16:37:36 -06:00
Jon Trulson
f6d83dd5e3
Merge branch 'master' into cde-next
2018-08-01 19:18:17 -06:00
chase
66db2259f7
Remove redundant motif widgets
2018-07-29 16:52:44 -06:00
Jon Trulson
ba611cbde6
templates/types.tmpl: make sure to clean up new .dt's on a make clean
2018-07-20 14:15:28 -06:00
Jon Trulson
d557db4eb2
Rename "dtapp" to "dtopen"
...
A great suggestion by Matthew Trower.
2018-07-19 20:42:54 -06:00
Jon Trulson
2f6f1d2afb
Finish integrating Antonis's desktop_approots work
...
In addition:
- moved video type detection into a separate file: videoTypes.dt out
of datatypes.dt. Also, removed all actions from Antonis' dt files,
as these are handled by the new actions (listed below).
Image, postscript, and PDF types definitions are still located in
datatypes.dt.src
- supports most image files, PDFs, postscript files, and video files
via dtapp now.
- Added new actions:
- DisplayImage
- DisplayVideo
- DisplayPDF
- DisplayPS
All of these call the dtapp_* helpers to locate an appropriate
program to handle the task.
- Added a camera icon
- standardized the icons used to display the various types - all
images use the Dtimage icon now, as an example.
- moved the new *.dt files to their proper place in programs/types,
rather than programs/localized/C/types (my bad).
Please add any further video types into videoTypes.dt, and everything
else (for now) into datatypes.dt.
In the future, we should probably separate these out into
type-specific .dt files. Also, something should be done about playing
audio files too (maybe DisplayVideo.dt can handle all those too?)
2018-07-19 19:52:40 -06:00
Jon Trulson
2b41b84c33
Add actions and types from Antonis Tsolomitis' desktop_approots contribution
2018-07-19 18:58:17 -06:00
Jon Trulson
cd38de99e4
Add icons from Antonis Tsolomitis desktop_approots contribution
2018-07-19 18:57:37 -06:00
Jon Trulson
5259022498
Add a new script, dtapp, used to locate and run various helper programs
...
This script is located in /usr/dt/bin/dtapp, and is then symlinked to
various helpers that can be used in DT actions to run programs.
The various helpers currently installed are:
dtapp_vimage - view an image file, override with DTAPP_VIMAGE.
Defaults to xv, display, and gimp, in that order.
dtapp_vpdf - view a PDF file, override with DTAPP_VPDF. Defaults to
okular, xpdf
dtapp_vps - view a postscript file, override with DTAPP_VPS. Defaults
to mgv, gv
dtapp_vvideo - view a video file, override with DTAPP_VVIDEO.
Defaults to vlc, ffplay.
When a request is made to view one of these files, the list of viewers
will be tried, in order, until one is found. If none are found, an
error message will be displayed. Add overrides to your ~/.dtprofile
file.
We can add more dtapp commands and defaults for them as needed.
This is in preparation for integrating Antonis Tsolomitis' extended
actions and icon files, coming up in future commits.
2018-07-19 18:57:20 -06:00
Peter Howkins
e2f1df0c8b
dtcm: Coverity 89185
2018-07-13 19:26:38 +01:00
Peter Howkins
10a0f55b4a
dtcm: Coverity 89051
2018-07-13 19:25:15 +01:00
Peter Howkins
6d7525e174
dtcm: Coverity 88955
2018-07-13 19:24:11 +01:00
Peter Howkins
f4a5433f32
dtcm: Coverity 88884
2018-07-13 19:23:05 +01:00
Peter Howkins
3af957e308
dtcm: Coverity 88382
2018-07-13 19:19:58 +01:00
Peter Howkins
a0edcdcc42
dtcm: Coverity 88069
2018-07-13 19:16:00 +01:00
Peter Howkins
67fb14c52b
dtcm: Coverity 87942
2018-07-13 19:14:45 +01:00
Peter Howkins
8950afd36a
dtcm: Coverity 87565
2018-07-13 19:13:13 +01:00
Peter Howkins
c7a649afb9
dtcm: Coverity 88006
2018-07-13 19:11:29 +01:00
Peter Howkins
3a4527980d
dtcm: Coverity 89313
2018-07-13 19:06:58 +01:00
Peter Howkins
f6886761da
dtcm: Coverity 176055
2018-07-13 19:05:33 +01:00
Peter Howkins
9e038c8b2b
dtcm: Coverity 89685
2018-07-13 19:04:37 +01:00
Peter Howkins
e718778ead
dtcm: Coverity 89111
2018-07-13 19:02:57 +01:00
Peter Howkins
28170c2a62
dtcm: Coverity 88533
2018-07-13 19:01:47 +01:00
Peter Howkins
4908fbb49a
dtcm: Coverity 88350
2018-07-13 19:00:54 +01:00
Peter Howkins
8f5048d54f
dtcm: Coverity 88279
2018-07-13 18:59:43 +01:00
Peter Howkins
6826ecc3d3
dtcm: Coverity 88056
2018-07-13 18:55:47 +01:00
Peter Howkins
4be7b85e01
dtcm: Coverity 87745 and 88154
2018-07-13 18:54:01 +01:00
Peter Howkins
dfa296e34e
dtcm: Coverity 87364
2018-07-13 18:52:08 +01:00
Peter Howkins
8e11140662
dtcm: Coverity 88250
2018-07-13 18:49:37 +01:00
Peter Howkins
cc79da451b
dtcm: Coverity 88745
2018-07-13 18:48:31 +01:00
Peter Howkins
c2c9c01051
dtcm: Coverity 89232
2018-07-13 18:47:22 +01:00
Peter Howkins
ce9bc0603a
dtcm: Coverity 89341
2018-07-13 18:44:12 +01:00
Peter Howkins
c4940d8f78
dtcm: Coverity 89517
2018-07-13 18:42:56 +01:00
Peter Howkins
cad7519b46
dtcm: Coverity 88200
2018-07-13 18:41:13 +01:00
Peter Howkins
261adc44d0
dtcm: Coverity 88494
2018-07-13 18:39:35 +01:00
Peter Howkins
2e0716d5cf
dtcm: Coverity 88079
2018-07-13 18:38:06 +01:00
Peter Howkins
1563031cd8
dtcm: Coverity 89160
2018-07-13 18:36:50 +01:00
Peter Howkins
a047b0be0e
dtcm: Coverity 89595
2018-07-13 18:35:25 +01:00
Peter Howkins
abf0b710b7
dtcm: Coverity 88253
2018-07-13 18:34:09 +01:00
Peter Howkins
67e1ccffc6
dtcm: Coverity 89371
2018-07-13 18:32:55 +01:00
Peter Howkins
1dfff588d6
dtcm: Coverity 89398
2018-07-13 18:31:25 +01:00
Peter Howkins
8edba6be7b
dtcm: Coverity 88778
2018-07-13 18:29:52 +01:00
Peter Howkins
49f7c0afa0
dtcm: Coverity 89234
2018-07-13 18:28:35 +01:00
Peter Howkins
24c4935c08
dtcm: Coverity 89207
2018-07-13 18:27:08 +01:00
Peter Howkins
a0bcb1ebf7
dtcm: Coverity 88326
2018-07-13 18:26:02 +01:00
Peter Howkins
11908ababe
dtcm: Coverity 88206
2018-07-13 18:24:58 +01:00
Peter Howkins
de3993130a
dtcm: Also make sure to reset non pointer fields, so that on future failures they don't return stale data (due to static)
2018-07-13 18:22:53 +01:00
Peter Howkins
bd82f93d1c
dtcm: When deleting data, set the pointer to NULL to avoid returning a pointer to freed data on future errors
2018-07-13 18:18:50 +01:00
Peter Howkins
e3b77b6cb2
dtcm: Coverity 89544
2018-07-13 18:14:35 +01:00
Peter Howkins
80d5547e00
dtcm: Coverity 89542
2018-07-13 18:13:01 +01:00
Peter Howkins
364fa12f7b
dtcm: Coverity 89535
2018-07-13 18:11:09 +01:00
Peter Howkins
c7e9625629
dtcm: Coverity 89499
2018-07-13 18:09:23 +01:00
Peter Howkins
622c2e541f
dtcm: Coverity 89413
2018-07-13 18:08:12 +01:00
Peter Howkins
803d0f94e5
dtcm: Coverity 89081
2018-07-13 18:06:36 +01:00
Peter Howkins
a4ba36aa0a
dtcm: Coverity 88669
2018-07-13 18:04:33 +01:00
Peter Howkins
67d6a3f15d
dtcm: Coverity 88647
2018-07-13 18:03:00 +01:00
Peter Howkins
7dc4bc99bf
dtcm: Coverity 88631
2018-07-13 18:01:23 +01:00
Peter Howkins
661e91d4a5
dtcm: When freeing pointer, set the pointer to NULL, so that on future failures you don't return a pointer to freed data
2018-07-13 17:59:21 +01:00
Peter Howkins
8eab8d07ce
dtcm: Coverity 88575
2018-07-13 17:57:53 +01:00
Peter Howkins
0fa768b653
dtcm: Coverity 88505
2018-07-13 17:55:59 +01:00
Peter Howkins
1e0dcd20b2
dtcm: Coverity 88336
2018-07-13 17:54:20 +01:00
Peter Howkins
251143f288
dtcm: Coverity 88272
2018-07-13 17:52:14 +01:00
Peter Howkins
15bef0fb9a
dtcm: Coverity 88235
2018-07-13 17:50:21 +01:00
Peter Howkins
c68559ee49
dtcm: Coverity 88225
2018-07-13 17:49:06 +01:00
Peter Howkins
f3f3288856
dtcm: Coverity 88168
2018-07-13 17:47:01 +01:00
Peter Howkins
2fee85a608
dtcm: Coverity 174819
2018-07-13 17:39:03 +01:00
Peter Howkins
801ed535e1
dtcm: Coverity 174713
2018-07-13 17:37:55 +01:00
Peter Howkins
603e917918
dtcm: Coverity 87931
2018-07-13 17:34:42 +01:00
Peter Howkins
03d009d63e
dtcm: Coverity 89686
2018-07-13 17:29:29 +01:00
Peter Howkins
b24e4a3e6f
dtcm: Coverity 89667
2018-07-13 17:27:41 +01:00
Peter Howkins
1d951664a8
dtcm: Coverity 89275
2018-07-13 17:24:16 +01:00
Peter Howkins
026a26ad4a
dtcm: Coverity 89182
2018-07-13 17:22:49 +01:00
Peter Howkins
e83f527376
dtcm: Coverity 89043
2018-07-13 17:22:04 +01:00
Peter Howkins
44574314f6
dtcm: Coverity 88899
2018-07-13 17:21:04 +01:00
Peter Howkins
f9f12a1294
dtcm: Coverity 88792
2018-07-13 17:19:18 +01:00
Peter Howkins
c686bfaf3c
dtcm: Coverity 88762
2018-07-13 17:16:20 +01:00
Peter Howkins
b260bc25d5
dtcm: Coverity 89143
2018-07-13 17:13:18 +01:00
Peter Howkins
cc3d276d31
dtcm: Coverity 88917
2018-07-13 17:12:23 +01:00
Peter Howkins
c180f33d90
dtcm: Coverity 88860
2018-07-13 17:11:31 +01:00
Peter Howkins
10e4871825
dtcm: Coverity 88648
2018-07-13 17:10:26 +01:00
Peter Howkins
8bc7b52ed3
dtcm: Coverity 88334
2018-07-13 17:09:34 +01:00
Peter Howkins
a3ec9d5335
dtcm: Coverity 88243
2018-07-13 17:08:48 +01:00
Peter Howkins
a0ee9a7fd2
dtcm: Coverity 88236
2018-07-13 17:07:56 +01:00
Peter Howkins
4509d5b4dd
dtcm: Fix typo
2018-07-13 17:07:15 +01:00
Peter Howkins
b2c67eefae
dtcm: Coverity 88080
2018-07-13 17:05:42 +01:00
Peter Howkins
909fb0b431
dtcm: Increase buffer size to prevent warning
2018-07-13 17:03:19 +01:00
Peter Howkins
6f5bd6cf4e
dtcm: Coverity 88351
2018-07-13 17:02:27 +01:00
Peter Howkins
3f689da7c3
dtcm: Coverity 88183, 88208, 89289
2018-07-13 16:50:07 +01:00
Peter Howkins
2d215fa52c
dtcm: Coverity 88107
2018-07-13 16:41:22 +01:00
Peter Howkins
4111b85da8
dtcm: Coverity 88636
2018-07-13 16:40:04 +01:00
Peter Howkins
8e9d0e5282
dtcm: Coverity 88672
2018-07-13 16:36:56 +01:00
Peter Howkins
71bbe17321
dtcm: Coverity 88871
2018-07-13 16:35:47 +01:00
Peter Howkins
207678795b
dtcm: Coverity 88902
2018-07-13 16:34:12 +01:00
Peter Howkins
89427d0972
dtcm: Coverity 88978
2018-07-13 16:31:21 +01:00
Peter Howkins
6d6f5098c5
dtcm: Coverity 89273
2018-07-13 16:29:19 +01:00
Peter Howkins
ea58823eb4
dtcm: Coverity 89423
2018-07-13 16:27:48 +01:00
Peter Howkins
263bcdce84
dtcm: Extend string buffer to prevent warning
2018-07-13 16:27:15 +01:00
Jon Trulson
87ad4219da
Merge branch 'master' into update-with-master
...
Resync one last time with master for 2.3 release tomorrow.
2018-07-05 14:18:07 -06:00
Jon Trulson
16ee3d1be5
ttsnoop: resolve coverity 176047, 176046, 176044, 176043, 176042 and 176040
2018-07-05 13:42:36 -06:00
Peter Howkins
e91f12cc54
dtcm: Coverity 174810
2018-07-05 00:10:58 +01:00
Peter Howkins
39461d7548
dtcm: Coverity 89645
2018-07-05 00:08:55 +01:00
Peter Howkins
fd56fc4b74
dtcm: Coverity 89641
2018-07-05 00:06:59 +01:00
Peter Howkins
547cc3e22b
dtcm: Coverity 89593
2018-07-05 00:05:21 +01:00
Peter Howkins
caee0e9cb5
dtcm: Coverity 89502
2018-07-05 00:00:57 +01:00
Peter Howkins
29dabbd900
dtcm: Coverity 89439 and 89458
2018-07-04 23:58:03 +01:00
Peter Howkins
0da93b0d43
dtcm: Coverity 89273
2018-07-04 23:55:29 +01:00
Peter Howkins
82f29143b0
dtcm: Coverity 89113
2018-07-04 23:54:02 +01:00
Peter Howkins
e418fe0842
dtcm: Coverity 89105
2018-07-04 23:52:37 +01:00
Peter Howkins
8620b2e27b
dtcm: Coverity 89021
2018-07-04 23:50:31 +01:00
Peter Howkins
801c7d36c6
dtcm: Coverity 88871
2018-07-04 23:45:56 +01:00
Peter Howkins
8f2b74aa6d
dtcm: Coverity 88858
2018-07-04 23:43:42 +01:00
Peter Howkins
e18054a5da
dtcm: Coverity 88383
2018-07-04 23:40:58 +01:00
Peter Howkins
70e5a9f044
dtcm: Coverity 88214
2018-07-04 23:36:46 +01:00
Peter Howkins
633ae90d90
dtcm: Coverity 89670, 88380 and 88201
2018-07-04 23:31:51 +01:00
Peter Howkins
2f60d57ab9
dtcm: Coverity 88331 and 88169
2018-07-04 23:26:52 +01:00
Peter Howkins
d46a8e8d94
dtcm: Coverity 88165
2018-07-04 23:23:32 +01:00
Peter Howkins
35ce247f9b
dtcm: Coverity 88137
2018-07-04 23:19:16 +01:00
Peter Howkins
a690c1f7f8
dtcm: Coverity 88113
2018-07-04 23:17:18 +01:00
Peter Howkins
4fa9477a1b
dtcm: Coverity 88303, 89531 and 89433
2018-07-04 23:09:18 +01:00
Peter Howkins
bab89de6ff
dtcm: Coverity 89369
2018-07-04 23:05:57 +01:00
Peter Howkins
008c224771
dtcm: Coverity 89287
2018-07-04 23:02:09 +01:00
Peter Howkins
6bf5856c34
dtcm: Coverity 89138
2018-07-04 22:59:44 +01:00
Peter Howkins
3709d1293f
dtcm: Coverity 88904
2018-07-04 22:41:46 +01:00
Peter Howkins
27e3d9a42a
dtcm: Coverity 89452 and 89661
2018-07-04 22:36:39 +01:00
Peter Howkins
aba6416554
dtcm: Coverity 88768, 89297 and 89115
2018-07-04 22:33:03 +01:00
Peter Howkins
d8fb638dde
dtcm: Coverity 88741, 88121 and 88692
2018-07-04 22:27:43 +01:00
Peter Howkins
4d15194de0
dtcm: Coverity 88687
2018-07-04 22:16:48 +01:00
Peter Howkins
b0a656cf0e
dtcm: Coverity 88675
2018-07-04 22:14:31 +01:00
Peter Howkins
4d0c2752f7
dtcm: Coverity 89212, 88188 and 88636
2018-07-04 22:11:44 +01:00
Peter Howkins
4f40139793
dtcm: Coverity 88613
2018-07-04 22:09:23 +01:00
Peter Howkins
3c056ef018
dtcm: Coverity 88514
2018-07-04 22:07:44 +01:00
Peter Howkins
313bd72e24
dtcm: Coverity 174711
2018-07-04 21:52:19 +01:00
Peter Howkins
606f7a599d
dtcm: Coverity 88107
2018-07-04 20:23:57 +01:00
Peter Howkins
19d0bafaad
dtcm: Coverity 89169
2018-07-04 20:14:18 +01:00
Peter Howkins
d8358dcbcc
dtcm: Coverity 88468
2018-07-04 19:43:09 +01:00
Peter Howkins
689916c98d
dtcm: Coverity 88584
2018-07-04 18:15:49 +01:00
Peter Howkins
df6ec95116
dtcm: Coverity 88888
2018-07-04 04:01:43 +01:00
Peter Howkins
408d18b711
dtcm: Coverity 88353
2018-07-04 03:59:42 +01:00
Peter Howkins
3ea62fea56
dtcm: Coverity 88910
2018-07-04 03:57:06 +01:00
Peter Howkins
70da2331b1
dtcm: Coverity 89547
2018-07-04 03:53:58 +01:00
Peter Howkins
48a27fa64d
dtcm: Coverity 89621
2018-07-04 03:51:15 +01:00
Peter Howkins
160728d895
dtdocbook: Coverity 86683
2018-07-04 02:18:20 +01:00
Peter Howkins
82e8b80612
dtdocbook: Coverity 86996
2018-07-04 02:01:15 +01:00
Peter Howkins
751505e6ab
dtdocbook: Coverity 86763
2018-07-04 01:59:42 +01:00
Peter Howkins
40b38d300b
dtprintinfo: Coverity 88447
2018-07-04 01:57:52 +01:00
Peter Howkins
09f187d6be
dtprintinfo: Coverity 89669
2018-07-04 01:55:44 +01:00
Peter Howkins
a38c049703
dtprintinfo: Coverity 88097
2018-07-04 01:53:56 +01:00
Peter Howkins
445019f086
dtprintinfo: Coverity 88683
2018-07-04 01:51:43 +01:00
Peter Howkins
1cd6ca0999
dtprintinfo: Coverity 88650
2018-07-04 01:49:50 +01:00
Peter Howkins
c6dd25b884
dtprintinfo: Coverity 89488
2018-07-04 01:47:31 +01:00
Peter Howkins
419a7efff4
dtprintinfo: Coverity 89561
2018-07-04 01:45:39 +01:00
Peter Howkins
ccd9f88a6d
dtprintinfo: Coverity 88414
2018-07-04 01:43:29 +01:00
Peter Howkins
4ee5f3d3cf
dtcm: Coverity 89265
2018-07-04 01:26:39 +01:00
Peter Howkins
3b85e48a68
dtcm: Coverity 88481
2018-07-04 01:22:34 +01:00
Peter Howkins
bdc3ee7f43
dtcm: Coverity 88902
2018-07-04 01:20:03 +01:00
Peter Howkins
eb9ef605ca
dtcm: Coverity 89037
2018-07-04 01:15:12 +01:00
Peter Howkins
e94c4017e6
dtcm: Coverity 88587
2018-07-04 01:13:43 +01:00
Peter Howkins
8d28d960d9
dtcm: Coverity 89063
2018-07-04 01:10:45 +01:00
Peter Howkins
7490caee7c
dtcm: Coverity 89423
2018-07-04 01:00:47 +01:00
Peter Howkins
199bb761af
dtcm: Coverity 88978
2018-07-04 00:57:17 +01:00
Peter Howkins
1de8020c41
dtcm: Coverity 89566
2018-07-04 00:54:54 +01:00
Peter Howkins
25e371dbe2
dtstyle: Coverity 88110
2018-07-03 18:57:35 +01:00
Peter Howkins
43a31a81fa
dtstyle: Coverity 87251
2018-07-03 18:54:16 +01:00
Peter Howkins
8b39102f31
dtstyle: Coverity 87244
2018-07-03 18:52:02 +01:00
Peter Howkins
a6cdaa8850
dtstyle: Coverity 87337
2018-07-03 18:49:43 +01:00
Peter Howkins
5481b6b753
dtstyle: Coverity 88475
2018-07-03 18:46:59 +01:00
Peter Howkins
9e0cd3fe51
dtstyle: Coverity 88726
2018-07-03 18:45:31 +01:00
Peter Howkins
c076db11de
dtstyle: Coverity 89011
2018-07-03 18:43:31 +01:00
Peter Howkins
43ed7dacc6
dtstyle: Coverity 89456
2018-07-03 18:42:00 +01:00
Peter Howkins
c743c30cb9
dtstyle: Coverity 87763
2018-07-03 18:39:32 +01:00
Peter Howkins
0dc2828f57
dtstyle: Coverity 89351
2018-07-03 18:29:47 +01:00
Peter Howkins
0f87b89354
dticon: fix for \n being truncated by snprintf off end of error message
2018-07-03 18:25:03 +01:00
Peter Howkins
73188e842e
dticon: Coverity 89192
2018-07-03 18:20:35 +01:00
Peter Howkins
877d62c2cb
nsgmls: Coverity 174584
2018-07-03 18:14:53 +01:00
Peter Howkins
62a09f6df5
nsgmls: Coverity 174600
2018-07-03 18:13:13 +01:00
Peter Howkins
56abbf15be
dtpad: Coverity 174846
2018-07-03 18:07:10 +01:00
Peter Howkins
5efbca724b
dtterm: Coverity 89479
2018-07-03 17:58:52 +01:00
Peter Howkins
f470e4303e
dtaction: Coverity 88210 and 87787
2018-07-03 17:55:28 +01:00
Jon Trulson
a7ec1c6182
dwtm/WmResource.c: Stop printing garbage when XmeRenderTableGetDefaultFont() fails.
2018-07-02 14:44:58 -06:00
Peter Howkins
3fe9d94879
dtwm: Coverity 88375
2018-07-02 21:03:42 +01:00
Peter Howkins
ac6fd23add
dtwm: Coverity 88285
2018-07-02 21:01:36 +01:00
Peter Howkins
e0d8aaa0dd
dtwm: Coverity 88535
2018-07-02 20:58:16 +01:00
Peter Howkins
c3aac3cc26
dtwm: Coverity 87236
2018-07-02 20:55:54 +01:00
Peter Howkins
77efde3456
dtwm: Coverity 87256
2018-07-02 20:52:39 +01:00
Peter Howkins
58065ae980
dtwm: 88998
2018-07-02 20:46:39 +01:00
Peter Howkins
39f2c08b94
dtwm: Coverity 89400
2018-07-02 20:45:22 +01:00
Peter Howkins
415964d433
dtwm: Coverity 89124
2018-07-02 20:43:50 +01:00
Peter Howkins
1f15522c59
dtwm: Coverity 88540
2018-07-02 20:42:37 +01:00
Peter Howkins
3aec9bfead
dtwm: Coverity 88325
2018-07-02 20:40:04 +01:00
Peter Howkins
152a655ce3
dtwm: Coverity 89619
2018-07-02 20:38:46 +01:00
Peter Howkins
dd9b5ca190
dtwm: Coverity 88714
2018-07-02 20:37:21 +01:00
Peter Howkins
20135bf9e7
dtwm: Coverity 88247
2018-07-02 20:35:57 +01:00
Peter Howkins
9b4e0270a3
dtwm: Coverity 88311
2018-07-02 20:32:50 +01:00
Peter Howkins
6299ec7483
dtwm: Coverity 87858
2018-07-02 20:29:01 +01:00
Jon Trulson
392356f6b4
ttsnoop: use tail arg -f rather than +0f
...
I cannot even find out what "+0f" is supposed to do (google fail), but
this seems a reasonable alternative that should work everywhere.
2018-06-29 14:37:48 -06:00
Jon Trulson
af6c2fd881
ttsnoop: drag into a modern C++ century
...
This program has never worked very well, and it may still not work
very well. This commit removes the ancient C++ headers and uses
modern replacements with some changes required due to the different
interfaces.
It builds a lot cleaner, and no longer does stupid things like
deleteing char *, ostream.str()'s, and the like.
This program could be really useful if it worked well. Some thought
should be givien in the future to decouple this SW from dtappbuilder
and maybe just rewrite from scratch.
2018-06-29 13:48:06 -06:00
Jon Trulson
a4a5413cd5
Merge branch 'master' into cde-next
2018-06-28 16:55:04 -06:00
Jon Trulson
94e69a00a7
dtdocbook/tcl/tclUtil.c: fix merge error
2018-06-27 22:48:30 -06:00
Jon Trulson
44f999c1de
dtdocbook/regexp.c, remove register keyword
2018-06-27 22:23:40 -06:00
Jon Trulson
e0036e6167
dtudcfonted, dtudcexch: delete from repository
2018-06-27 22:20:34 -06:00
Jon Trulson
53086aa9df
util/dttypes: remove register keyword
2018-06-27 22:20:34 -06:00
Jon Trulson
1c822c2f0b
nsgmls: remove register keyword
2018-06-27 22:20:34 -06:00
Jon Trulson
38d38987b0
localized/util: remove register keyword
2018-06-27 22:20:34 -06:00
Jon Trulson
c1227cc629
dtwm: remove register keyword
2018-06-27 22:20:34 -06:00
Jon Trulson
2d7c1db6fc
dtterm: remove register keyword
2018-06-27 22:20:34 -06:00
Jon Trulson
43cdfab6a1
dtstyle: remove register keyword
2018-06-27 22:20:34 -06:00
Jon Trulson
d801b00866
dtsr: remove register keyword
2018-06-27 22:20:34 -06:00
Jon Trulson
a66948f73e
dtscreen: remove register keyword
2018-06-27 22:20:34 -06:00
Jon Trulson
3096ad03a8
dtprintinfo: remove register keyword
2018-06-27 22:20:34 -06:00
Jon Trulson
f0a6172d3f
dtpad: remove register keyword
2018-06-27 22:20:34 -06:00
Jon Trulson
d0a4f777d8
dtmail: remove register keyword
2018-06-27 22:20:34 -06:00
Jon Trulson
88dd3b2c71
dtlogin: remove register keyword
2018-06-27 22:20:34 -06:00
Jon Trulson
97264ba971
dtksh: remove register keyword
2018-06-27 22:20:34 -06:00
Jon Trulson
556ce45298
dtinfo: remove register keyword
2018-06-27 22:20:34 -06:00
Jon Trulson
7c0de21ad4
dtinfo: remove TKTemplate.nd.c
2018-06-27 22:17:25 -06:00
Jon Trulson
424b662372
dtimsstart: remove register keyword
2018-06-27 22:17:25 -06:00
Jon Trulson
ea2d3927c7
dtfile: remove register keyword
2018-06-27 22:14:51 -06:00
Jon Trulson
55a80f00cf
dtdocbook: remove register keyword
2018-06-27 22:14:51 -06:00
Jon Trulson
ca7d34b7ff
dtcm: remove register keyword
2018-06-27 22:00:56 -06:00
Jon Trulson
b7599ec2a2
dtcalc: remove register keyword
2018-06-27 22:00:56 -06:00
Jon Trulson
f4776c21d7
dtappbuilder: remove register keyword
2018-06-27 22:00:56 -06:00