Commit Graph

617 Commits

Author SHA1 Message Date
Peter Howkins 4e9dc6c50b dtterm: coverity fixes 2018-04-12 21:29:49 +01:00
Jon Trulson ae6b787c66 dtbuilder/Imakefile: fix clean target to remove dtbuilder executable 2018-04-12 13:38:38 -06:00
Jon Trulson a1e23fe130 dtfile/FileOp: CID 175228 2018-04-12 11:58:34 -06:00
Jon Trulson 07fe841363 dtfile/FileDialog: CID 175220 2018-04-12 11:45:38 -06:00
Jon Trulson 1321d4c299 dtfile/SharedProcs: CID 175229 2018-04-12 11:30:59 -06:00
Jon Trulson 8e4b6605bf dtfile/dtcopy/sharedFuncs: CID 175225 2018-04-12 11:21:06 -06:00
Jon Trulson fd5fe65616 dtfile/Desktop: CID 175219,175222,175223,175226,175227 2018-04-12 11:10:42 -06:00
Peter Howkins 680f79aac3 ttsnoop: resolve some compiler warnings 2018-04-11 23:37:34 +01:00
Jon Trulson 7c3c03388a dtfile/Encaps: CID 174844 2018-04-11 16:25:52 -06:00
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 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 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 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 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
Peter Howkins bcee6be5d8 Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code 2018-04-02 20:32:56 +01:00
Peter Howkins 0b38496bd8 dtmail: resolve 'deference before null check' errors related to if(!NULL) checks around free() calls 2018-04-02 20:29:28 +01:00