Jon Trulson [Thu, 5 Apr 2018 21:44:37 +0000 (15:44 -0600)]
Revert "dtfile: coverity CIDs 88363,88405,89140,89612; insecure readlink"
This reverts commit
7fa35c29c4559ce8b4ca4d4b5f0216a5305bb6ea.
Jon Trulson [Thu, 5 Apr 2018 19:28:04 +0000 (13:28 -0600)]
dtfile/sharedFuncs: CID 88085; resource leak
Jon Trulson [Thu, 5 Apr 2018 18:49:06 +0000 (12:49 -0600)]
dtfile: define MAX_PATH to PATH_MAX rather than 1024, also CID 87557
Peter Howkins [Thu, 5 Apr 2018 17:16:10 +0000 (18:16 +0100)]
dtinfo/dtinfogen: Fix segfault introduced by over zealously fixing coverity resource leak
Peter Howkins [Wed, 4 Apr 2018 21:42:06 +0000 (22:42 +0100)]
dtinfo: fix coverity issues related to null checks after dereference
Peter Howkins [Wed, 4 Apr 2018 21:07:10 +0000 (22:07 +0100)]
dtinfo: Fix coverity issues for resource leaks
Peter Howkins [Wed, 4 Apr 2018 19:37:13 +0000 (20:37 +0100)]
dtspcd: Cov 89547, 175089
Peter Howkins [Wed, 4 Apr 2018 19:16:24 +0000 (20:16 +0100)]
config/util: resolve coverity issues
Peter Howkins [Wed, 4 Apr 2018 18:48:23 +0000 (19:48 +0100)]
libdtterm: Resolve coverity issues
Peter Howkins [Wed, 4 Apr 2018 15:50:19 +0000 (16:50 +0100)]
dsdm: cov 86572, free mem in error condition
Peter Howkins [Wed, 4 Apr 2018 15:37:12 +0000 (16:37 +0100)]
Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code
Peter Howkins [Wed, 4 Apr 2018 15:33:45 +0000 (16:33 +0100)]
dtwm: cov 175166, check for pointer
Jon Trulson [Wed, 4 Apr 2018 02:59:48 +0000 (20:59 -0600)]
dtfile/SharedProcs.c: rework coverity 174852 fix to unbreak dtfile
Jon Trulson [Tue, 3 Apr 2018 18:55:23 +0000 (12:55 -0600)]
fontaliases: use copy rather than symlink since bdftopcf can't handle those
bdftopcf specifically will not read symbolic links. This causes it to
fail when creating the programs/fontaliases/*/C/dtinfo.pcf.Z file and
subsequently, the fonts.dir file.
So, we add a new Imake macro: CopySourceFile(), to copy rather than
symlink the dtinfo.bdf file so these operations can complete
successfully. The dtinfo.bdf file is only 5KB, so there's very little
impact having an extra copy created during a build.
Jon Trulson [Tue, 3 Apr 2018 01:38:14 +0000 (19:38 -0600)]
Disable building of dtudcfonted and dtudcexch
This software has a variety of problems, like including renamed X11
header files, and other nuttery.
These programs also have a very limited use, I doubt most people even
know what they are for or will miss them.
This commit prevents them from being built and installed. If no-one
volunteers to get these into decent shape after the next release, they
will be removed from the repository.
Jon Trulson [Tue, 3 Apr 2018 00:43:14 +0000 (18:43 -0600)]
dtcm/dssw.c: fix typo
Jon Trulson [Tue, 3 Apr 2018 00:23:22 +0000 (18:23 -0600)]
dtudcfonted/gpftobdf.c: Coverity CID 175168; NULL deref
Jon Trulson [Tue, 3 Apr 2018 00:07:54 +0000 (18:07 -0600)]
dtcalc/ds_xlib.c: Coverity CID 175167; uninit value
Jon Trulson [Mon, 2 Apr 2018 22:55:34 +0000 (16:55 -0600)]
dtcm/dssw.c: Coverity CID 88672; dest buf too small
Jon Trulson [Mon, 2 Apr 2018 22:50:24 +0000 (16:50 -0600)]
dtsr/dtsrclean.c: Coverity CID 86876; dest buf too small
Jon Trulson [Mon, 2 Apr 2018 22:37:40 +0000 (16:37 -0600)]
libDtSearch/dtsrapi.c: Coverity CID 86857; dest buf too small
Peter Howkins [Mon, 2 Apr 2018 21:10:46 +0000 (22:10 +0100)]
libdtsvc: Resolve coverity warnings related to 'dereference before null check' related to free()
Peter Howkins [Mon, 2 Apr 2018 20:31:50 +0000 (21:31 +0100)]
libdtsvc: Compiler warning prevention
Peter Howkins [Mon, 2 Apr 2018 19:32:56 +0000 (20:32 +0100)]
Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code
Peter Howkins [Mon, 2 Apr 2018 19:29:28 +0000 (20:29 +0100)]
dtmail: resolve 'deference before null check' errors related to if(!NULL) checks around free() calls
Jon Trulson [Mon, 2 Apr 2018 18:22:32 +0000 (12:22 -0600)]
dtwm/WmResource.c: remove errant ')' added in previous commit
Peter Howkins [Mon, 2 Apr 2018 17:08:40 +0000 (18:08 +0100)]
dtwm: Resolve coverity warnings
Jon Trulson [Mon, 2 Apr 2018 00:41:11 +0000 (18:41 -0600)]
dtcreate/fileio.c: coverity CID 175094; dref bef NULL
Jon Trulson [Mon, 2 Apr 2018 00:35:14 +0000 (18:35 -0600)]
dtcreate/CreateActionAppShell.c: coverity CID 175092; uninit ptr read
Jon Trulson [Mon, 2 Apr 2018 00:33:00 +0000 (18:33 -0600)]
dtcalc: remove MAX_PATH, use standard PATH_MAX
Jon Trulson [Mon, 2 Apr 2018 00:30:10 +0000 (18:30 -0600)]
dtcalc/ds_xlib.c: coverity CID 175093; wrong sizeof/bad free
Jon Trulson [Mon, 2 Apr 2018 00:06:10 +0000 (18:06 -0600)]
dtudcfonted/_faludcInf.c: coverity CIDs 175096,175092; uninit ptr read
Jon Trulson [Sun, 1 Apr 2018 20:38:05 +0000 (14:38 -0600)]
dtudcfonted/gpftobdf.c: coverity CIDs 87073,87008,87029,86919,86898,86715; uninit scalar
Jon Trulson [Sun, 1 Apr 2018 20:25:34 +0000 (14:25 -0600)]
libtt/isrepair.c: coverity CID 86705; uninit ptr read
Jon Trulson [Sun, 1 Apr 2018 20:21:57 +0000 (14:21 -0600)]
dtfile/File.c: coverity CID 88919; uninit array read
Jon Trulson [Sun, 1 Apr 2018 20:16:18 +0000 (14:16 -0600)]
dthelp/Initialize.c: coverity CID 89569; unbounded src buf
Jon Trulson [Sun, 1 Apr 2018 20:04:25 +0000 (14:04 -0600)]
dtcm/props.c: coverity CID 88573; unbounded src buf
Jon Trulson [Sun, 1 Apr 2018 19:54:22 +0000 (13:54 -0600)]
dtexec,DtSvc/MsgLog.c: coverity CID 89585; resource leak
Jon Trulson [Sun, 1 Apr 2018 19:45:48 +0000 (13:45 -0600)]
dtudcfonted/getfname.c: coverity CID 86392; insecure readlink
Jon Trulson [Sun, 1 Apr 2018 19:43:48 +0000 (13:43 -0600)]
dtfile: coverity CIDs 88363,88405,89140,89612; insecure readlink
Jon Trulson [Sun, 1 Apr 2018 01:12:32 +0000 (19:12 -0600)]
dtfile/SharedProcs.c: coverity CID 174852; int overflow
Jon Trulson [Sun, 1 Apr 2018 01:05:35 +0000 (19:05 -0600)]
libtt/tt_file_system.C: coverity CID 86024; array vs singlton
Jon Trulson [Sun, 1 Apr 2018 00:55:56 +0000 (18:55 -0600)]
dtmail/MsgScrollingList.C: coverity CID 87360; memset no effect
Jon Trulson [Sun, 1 Apr 2018 00:53:29 +0000 (18:53 -0600)]
dtinfo/OutlineListViewMotif.C: coverity CID 87754; memset truncated
Jon Trulson [Sun, 1 Apr 2018 00:36:22 +0000 (18:36 -0600)]
csa/match.c: coverity CID 87204; bad free; WTF
Jon Trulson [Sun, 1 Apr 2018 00:21:14 +0000 (18:21 -0600)]
dthelp/helpgen.c: coverity CID 175085; use after free
Jon Trulson [Sun, 1 Apr 2018 00:11:14 +0000 (18:11 -0600)]
dtfile/Help.c: coverity CID 88484; use after free
Jon Trulson [Sun, 1 Apr 2018 00:08:02 +0000 (18:08 -0600)]
libtt/process.c: coverity CID 87051; use after free
Jon Trulson [Sun, 1 Apr 2018 00:02:11 +0000 (18:02 -0600)]
libtt/db_server_svc.C: coverity CID 87060; string overflow
Jon Trulson [Sat, 31 Mar 2018 23:52:27 +0000 (17:52 -0600)]
dthelp/htag/malloc: coverity CID 86955; use after free
Jon Trulson [Sat, 31 Mar 2018 23:46:53 +0000 (17:46 -0600)]
dtmail/DtMailRc.C: coverity CID 88975; use after free
Jon Trulson [Sat, 31 Mar 2018 23:34:40 +0000 (17:34 -0600)]
dtfile/Main.c: coverity CID 89623; uninit var
Jon Trulson [Sat, 31 Mar 2018 23:25:35 +0000 (17:25 -0600)]
dtfile/sharedFuncs.c: coverity CID 88625; use after free
Jon Trulson [Sat, 31 Mar 2018 23:21:34 +0000 (17:21 -0600)]
dtfile/SharedProcs.c: coverity CID 89068; use after free
Jon Trulson [Sat, 31 Mar 2018 20:42:22 +0000 (14:42 -0600)]
dtinfo/MixedGen.C: coverity CID 89495; use after free
Jon Trulson [Sat, 31 Mar 2018 20:24:13 +0000 (14:24 -0600)]
dtspcd: coverity CID 174742; potential NULL derefs
Jon Trulson [Sat, 31 Mar 2018 20:17:36 +0000 (14:17 -0600)]
dtinfo/DtSR: coverity CID 88552; memory corruption
Jon Trulson [Sat, 31 Mar 2018 20:07:28 +0000 (14:07 -0600)]
dtinfo/TextParser.C: coverity CID 89054; mem corruption
Peter Howkins [Fri, 30 Mar 2018 23:15:05 +0000 (00:15 +0100)]
libDtWidget: Resolve some Coverity warnings
Peter Howkins [Fri, 30 Mar 2018 22:48:00 +0000 (23:48 +0100)]
dtpdmd: Resolve some coverity warnings
Peter Howkins [Fri, 30 Mar 2018 22:35:39 +0000 (23:35 +0100)]
dtcreate: Resolve coverity issues
Peter Howkins [Fri, 30 Mar 2018 21:09:47 +0000 (22:09 +0100)]
dtudcfonted: Resolve further coverity issues
Peter Howkins [Fri, 30 Mar 2018 19:24:04 +0000 (20:24 +0100)]
dtcalc: resolve coverity issues
Peter Howkins [Wed, 28 Mar 2018 23:21:44 +0000 (00:21 +0100)]
dthelp: compiler warning and coverity warning fixes
Peter Howkins [Wed, 28 Mar 2018 20:34:08 +0000 (21:34 +0100)]
libtt: Resolve some compiler warnings
Jon Trulson [Wed, 28 Mar 2018 18:49:53 +0000 (12:49 -0600)]
CDE-RUN: remove osf bindings
Jon Trulson [Wed, 28 Mar 2018 18:15:04 +0000 (12:15 -0600)]
Remove old cruft: osf/* and utils/prog*
The osf/ stuff includes uil, wml, etc - we expect these to be provided
by Motif, and make no attempt to build them in CDE, so no need for
them.
The only program in utils/prog/ is an ancient verion of lndir that we
do not need for CDE. If you need lndir for some reason, use the
laters version from Xorg, usually installed via the xutils-dev
package.
Peter Howkins [Wed, 28 Mar 2018 01:24:27 +0000 (02:24 +0100)]
dtcalc: resolve coverity issues
Peter Howkins [Wed, 28 Mar 2018 01:08:36 +0000 (02:08 +0100)]
dtscpd: resolve compiler and coverity warnings
Peter Howkins [Wed, 28 Mar 2018 00:29:28 +0000 (01:29 +0100)]
dtcudcfonted: Resolve compiler and coverity warnings
Peter Howkins [Tue, 27 Mar 2018 02:55:32 +0000 (03:55 +0100)]
dtdocbook: glibc 2.27 drops support for matherr() support in math.h
Peter Howkins [Tue, 27 Mar 2018 02:25:58 +0000 (03:25 +0100)]
dtcalc: change from obsoleted MAXFLOAT to FLT_MAX from std C
Peter Howkins [Tue, 27 Mar 2018 00:51:58 +0000 (01:51 +0100)]
dtksh: Linux modern glibc compile HACK prevent system wide definition of __FILE that we define to Sfio_t
Peter Howkins [Fri, 23 Mar 2018 04:17:17 +0000 (04:17 +0000)]
dtksh: make sure you can still build on linux older c library too
Peter Howkins [Fri, 23 Mar 2018 01:51:39 +0000 (01:51 +0000)]
dtksh: HACKY fix for compilation on later linux C library where FILE definition has moved
Peter Howkins [Wed, 21 Mar 2018 01:03:31 +0000 (01:03 +0000)]
Change dtmmdb class from tuple to mmdb_tuple
Peter Howkins [Wed, 21 Mar 2018 01:01:09 +0000 (01:01 +0000)]
Change how read and write errors are detected on fstream based streams.
Peter Howkins [Sun, 18 Mar 2018 00:21:51 +0000 (00:21 +0000)]
Resolve some compiler warnings
Peter Howkins [Sun, 18 Mar 2018 00:20:55 +0000 (00:20 +0000)]
Fixed for wrong cased filename on depends creation
Peter Howkins [Thu, 8 Mar 2018 23:03:21 +0000 (23:03 +0000)]
Resolve some coverity warnings
Michael McConville [Sat, 9 Dec 2017 09:33:44 +0000 (02:33 -0700)]
Remove needless zeroing after calloc
Cody Kotichas [Tue, 8 Aug 2017 07:32:33 +0000 (00:32 -0700)]
Fix typographical error
Jon Trulson [Sun, 6 Aug 2017 00:49:07 +0000 (18:49 -0600)]
dtappbuilder: Add patches from Robert Pangrazio fixing coredumps
alx [Sat, 29 Jul 2017 13:10:54 +0000 (15:10 +0200)]
libtt: pass proper flags to getfsstat, log error message and exit if it fails
Peter Howkins [Sun, 16 Apr 2017 18:07:21 +0000 (19:07 +0100)]
Add in an example .desktop session file for other X session managers (not dtlogin)
Suitable for kdm/gdm/lightdm etc
Peter Howkins [Tue, 11 Apr 2017 19:40:43 +0000 (20:40 +0100)]
Change pid wait types to int on Linux as well. Fixes compile issue
in dtudc programs on ubuntu 16.10+
Edmond ORIGNAC [Mon, 2 Jan 2017 18:52:41 +0000 (19:52 +0100)]
DtMail translations and improvements of vcal2xampia.awk
dtmail: messages of the 'Mail Retrieval' menu of dtmail were left untranslated.
French, Italian, Spanish translations were added.
vcal2xapia.awk: capacity to handle UTC+n timezones and TODO items added.
Edmond ORIGNAC [Mon, 2 Jan 2017 18:57:11 +0000 (19:57 +0100)]
Manual page for vcal2xapia.awk
alx [Fri, 30 Dec 2016 01:43:57 +0000 (02:43 +0100)]
dtksh/sfio: resolved a naming collision on FreeBSD 11
alx [Fri, 30 Dec 2016 00:35:38 +0000 (01:35 +0100)]
ttsession: don't segfault if host name isn't properly set
alx [Fri, 30 Dec 2016 00:31:09 +0000 (01:31 +0100)]
dtlogin: center the mouse pointer on the login screen on multi-head setups
alx [Fri, 30 Dec 2016 00:28:43 +0000 (01:28 +0100)]
dtfile: added Xinerama support to dialog positioning routines
alx [Fri, 30 Dec 2016 00:21:40 +0000 (01:21 +0100)]
libDtSvc: added Xinerama support to _DtMessageDialog
Swift Griggs [Fri, 5 Aug 2016 16:47:57 +0000 (10:47 -0600)]
Patches from pkgsrc-WIP
Matthew R. Trower [Thu, 23 Jun 2016 07:25:00 +0000 (02:25 -0500)]
dtwm: basic multihead(xinerama only) support
* maximization (also partially fixes strange Firefox behaviour)
* sane initial window placement
Firefox is stranger than most; it appears to maximize to double
X Screen width even on single head displays. Fixed (on multihead).
Jon Trulson [Sun, 19 Jun 2016 18:46:29 +0000 (12:46 -0600)]
release: update version to 2.2.4, update HISTORY
Jon Trulson [Sun, 19 Jun 2016 02:18:52 +0000 (20:18 -0600)]
contrib: some enhancements to the scrotps provided by Edmond Orignac
Ulrich Wilkens [Sun, 12 Jun 2016 16:55:18 +0000 (18:55 +0200)]
dtlogin: FreeBSD build fix
Ulrich Wilkens [Fri, 10 Jun 2016 04:31:28 +0000 (06:31 +0200)]
Fix dtinfo document build on OpenBSD
Pascal de Bruijn [Thu, 9 Jun 2016 15:49:07 +0000 (17:49 +0200)]
dtlogin: openbsd build fix
Amend
ced27aa1f69a7c41bdf67f8d39f786899947aa26 to prevent openbsd
make from failing because of the tab.