Commit Graph

949 Commits

Author SHA1 Message Date
Jon Trulson d8d8508fe3 dtfile/Main: CID 89623 2018-04-11 16:25:52 -06:00
Jon Trulson c73ad48482 dtfile/dtcopy/dosync: CID 89374 2018-04-11 16:25:52 -06:00
Jon Trulson 1fa5834c60 dtfile/Menu: CID 89222 2018-04-11 16:25:52 -06:00
Jon Trulson 43a5b19ea0 dtfile/dtcopy/fsrtns: CID 88868,88128 2018-04-11 16:25:52 -06:00
Jon Trulson 3ba5c25a55 dtfile/Directory: CID 88835,89096,89446,89469,89498 2018-04-11 16:25:52 -06:00
Jon Trulson ca7c8308e1 dtfile/Command: CID 88819 2018-04-11 16:25:52 -06:00
Jon Trulson 7d77cc21e0 linux.cf: Add -Wno-unused-result to C flags
There are several hundred of these and unless you intend to fix them,
they are just compiler noise.  If someone does want to go back and
redo all of these, then they can just re-enable this warning.
2018-04-11 16:25:52 -06:00
Jon Trulson 4ddbc11557 dtfile/FileOp: CID 88744,89337,89546 2018-04-11 16:25:52 -06:00
Jon Trulson aa2a529e25 dtfile/Trash: CID 88638,88815,89061,89614 2018-04-11 16:25:52 -06:00
Jon Trulson 54f8982c61 dtfile/Help: CID 88598 2018-04-11 16:25:52 -06:00
Jon Trulson 141bfca04e dtfile/FileMgr: CID 88441,89025,174801 2018-04-11 16:25:52 -06:00
Jon Trulson e2162e0800 dtfile/Find: CID 88258,87250 2018-04-11 16:25:52 -06:00
Jon Trulson 32e8827cbc dtfile/IconWindow: CID 88242,88702,89030 2018-04-11 16:25:52 -06:00
Jon Trulson 19d824c2cc dtfile/dtcopy/sharedFuncs: CID 88204,88291,88852,88861,88876 2018-04-11 16:25:52 -06:00
Jon Trulson 51b7590c63 dtfile/File: CID 88195,88595,88627,88794 2018-04-11 16:25:52 -06:00
Jon Trulson d30719f3a2 dtfile/SharedProcs: CID 88158,88337,89104,89118 2018-04-11 16:25:52 -06:00
Jon Trulson dd03c9cbf7 dtfile/FileDialog: CID 88141,88451,88658,89058 2018-04-11 16:25:52 -06:00
Jon Trulson 7e61925f1b dtfile/Desktop: CID 88133,88159,88339,88798,89331,89466 2018-04-11 16:25:52 -06:00
Jon Trulson 694b6ef5eb dtfile/Prefs: CID 88095,88407,89162,89164,89283,89445 2018-04-11 16:25:52 -06:00
Peter Howkins 30ad8e35e5 libtt: Resolve coverity warnings 2018-04-11 19:31:03 +01:00
Peter Howkins db88cb0d13 dtpad: resove coverity issues 2018-04-11 18:05:06 +01:00
Jon Trulson 56b53a30a1 Reimplement reverted commit 7fa35c to fix readlink() issues
Original implementation:

Commit: 7fa35cA
dtfile: coverity CIDs 88363,88405,89140,89612; insecure readlink

That commit caused dtfile to be unable to resolve symbolic links and
was later reverted.  This commit reimplements the fixes correctly, and
should hopefully still resolve the coverity issues as well.
2018-04-10 19:12:58 -06:00
Peter Howkins 10468068ac dthelp: more coverity fixes 2018-04-11 02:07:55 +01:00
Jon Trulson f4e3cb8327 dthelp/FormatUtils: fix coredump in dthelpgen due to free() of a bad address 2018-04-10 16:30:25 -06:00
Jon Trulson 88cbe518a4 installCDE/linux: don't try to edit/modify /etc/inetd.conf if it does not exist
Modern systems use xinetd anyway, so this code just creates useless
junk and error messages on installation.
2018-04-10 13:44:29 -06:00
Jon Trulson 6fff16a049 Remove admin/man, *nameswitch; none of this is pertinent anymore 2018-04-10 12:52:36 -06:00
Jon Trulson ad01bb2067 Remove admin/bin; none of this is pertinent anymore 2018-04-10 12:52:32 -06:00
Jon Trulson 0ec76e2912 Remove admin/BuildTools; none of this is pertinent anymore 2018-04-10 12:52:25 -06:00
Jon Trulson 4ca27ae51a Remove admin/BuildTools/fnrclone/; obsolete junk 2018-04-10 12:32:28 -06:00
Jon Trulson 9a3a9e3010 Revert "dtfile: coverity CIDs 88363,88405,89140,89612; insecure readlink"
This reverts commit 7fa35c29c4.
2018-04-05 15:44:37 -06:00
Jon Trulson 70f85d77cc dtfile/sharedFuncs: CID 88085; resource leak 2018-04-05 13:28:04 -06:00
Jon Trulson caa95ba67c dtfile: define MAX_PATH to PATH_MAX rather than 1024, also CID 87557 2018-04-05 12:49:06 -06:00
Peter Howkins 494fd64314 dtinfo/dtinfogen: Fix segfault introduced by over zealously fixing coverity resource leak 2018-04-05 18:16:10 +01:00
Peter Howkins bc28c20524 dtinfo: fix coverity issues related to null checks after dereference 2018-04-04 22:42:06 +01:00
Peter Howkins 2b15c4057e dtinfo: Fix coverity issues for resource leaks 2018-04-04 22:07:10 +01:00
Peter Howkins 9ef3b9ec68 dtspcd: Cov 89547, 175089 2018-04-04 20:37:13 +01:00
Peter Howkins c12c130ece config/util: resolve coverity issues 2018-04-04 20:16:24 +01:00
Peter Howkins ccab0597ed libdtterm: Resolve coverity issues 2018-04-04 19:48:23 +01:00
Peter Howkins 2d91ff7a6f dsdm: cov 86572, free mem in error condition 2018-04-04 16:50:19 +01:00
Peter Howkins d87f6ce29d Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code 2018-04-04 16:37:12 +01:00
Peter Howkins 4fc13a6e27 dtwm: cov 175166, check for pointer 2018-04-04 16:33:45 +01:00
Jon Trulson f7d09f054d dtfile/SharedProcs.c: rework coverity 174852 fix to unbreak dtfile 2018-04-03 21:28:49 -06:00
Jon Trulson 8f7c874ba0 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.
2018-04-03 13:03:26 -06:00
Jon Trulson 7f70748d65 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.
2018-04-02 19:38:14 -06:00
Jon Trulson c4e7d35519 dtcm/dssw.c: fix typo 2018-04-02 18:43:14 -06:00
Jon Trulson ba95bbc073 dtudcfonted/gpftobdf.c: Coverity CID 175168; NULL deref 2018-04-02 18:23:22 -06:00
Jon Trulson 45bccb474c dtcalc/ds_xlib.c: Coverity CID 175167; uninit value 2018-04-02 18:07:54 -06:00
Jon Trulson d5c304d476 dtcm/dssw.c: Coverity CID 88672; dest buf too small 2018-04-02 17:02:16 -06:00
Jon Trulson f269c2a074 dtsr/dtsrclean.c: Coverity CID 86876; dest buf too small 2018-04-02 17:02:16 -06:00
Jon Trulson 4e61c62742 libDtSearch/dtsrapi.c: Coverity CID 86857; dest buf too small 2018-04-02 17:02:16 -06:00