cdesktopenv/cde/programs
Jon Trulson 606df517f0 dtprintinfo: Fix SIGSEGV in dtprintinfo (passing NULL as first argument to catgets).
Patch from Douglas Mencken <dougmencken@gmail.com>:

The issue is that MESSAGE tries to invoke catgets with NULL first
parameter, which is dereferenced inside catgets (Std C Library
function) without checking, from catgets.c source:

if (catalog->name_ptr[idx + 0] == (u_int32_t) set
          && catalog->name_ptr[idx + 1] == (u_int32_t) message)

On the other hand, there's a special value: -1 (cast to nl_catd),
which must be used instead of 0 (NULL) in the case when we are unable
to provide real catalog_desc, from catgets.c source:

  /* Be generous if catalog which failed to be open is used.  */
  if (catalog_desc == (nl_catd) -1 || ++set <= 0 || message < 0)
    return (char *) string;
2012-08-06 17:12:38 -06:00
..
backdrops
dsdm Add GNU LGPL headers to all .c .C and .h files 2012-03-10 18:58:32 +00:00
dtaction Remove hardcoded CCLINK's in Imakefiles when linking with C++ built libs (DtSvc). 2012-06-19 16:27:20 -06:00
dtappbuilder dtbuilder: fixup TOG copyrights issue in generated files. 2012-08-03 15:06:56 -06:00
dtappintegrate
dtcalc Remove hardcoded CCLINK's in Imakefiles when linking with C++ built libs (DtSvc). 2012-06-19 16:27:20 -06:00
dtcm Remove hardcoded CCLINK's in Imakefiles when linking with C++ built libs (DtSvc). 2012-06-19 16:27:20 -06:00
dtconfig
dtcreate Remove hardcoded CCLINK's in Imakefiles when linking with C++ built libs (DtSvc). 2012-06-19 16:27:20 -06:00
dtdbcache Remove hardcoded CCLINK's in Imakefiles when linking with C++ built libs (DtSvc). 2012-06-19 16:27:20 -06:00
dtdocbook instant: change warning message to fatal message, since it is. 2012-07-13 22:26:02 -06:00
dtdspmsg Add GNU LGPL headers to all .c .C and .h files 2012-03-10 18:58:32 +00:00
dtexec Remove hardcoded CCLINK's in Imakefiles when linking with C++ built libs (DtSvc). 2012-06-19 16:27:20 -06:00
dtfile dtfile: add freetype includes to Imakfile 2012-06-20 14:25:41 -06:00
dthello Add GNU LGPL headers to all .c .C and .h files 2012-03-10 18:58:32 +00:00
dthelp Fix some minor issues and re-enable building of DE, ES, FR, and IT locale data (help and message cats) 2012-07-13 17:42:12 -06:00
dticon Remove hardcoded CCLINK's in Imakefiles when linking with C++ built libs (DtSvc). 2012-06-19 16:27:20 -06:00
dtimsstart Remove hardcoded CCLINK's in Imakefiles when linking with C++ built libs (DtSvc). 2012-06-19 16:27:20 -06:00
dtinfo Add GNU LGPL headers to all .c .C and .h files 2012-03-10 18:58:32 +00:00
dtksh Add GNU LGPL headers to all .c .C and .h files 2012-03-10 18:58:32 +00:00
dtlogin dtlogin: Fix up Options->Language menu 2012-08-03 17:38:06 -06:00
dtmail dtmail: IO.C: just compare against \r on all systems 2012-07-13 21:45:46 -06:00
dtpad Remove hardcoded CCLINK's in Imakefiles when linking with C++ built libs (DtSvc). 2012-06-19 16:27:20 -06:00
dtpdm Remove hardcoded CCLINK's in Imakefiles when linking with C++ built libs (DtSvc). 2012-06-19 16:27:20 -06:00
dtpdmd On linux use the system provided libXau rather than one from the imports 2012-03-13 17:18:35 +00:00
dtprintegrate
dtprintinfo dtprintinfo: Fix SIGSEGV in dtprintinfo (passing NULL as first argument to catgets). 2012-08-06 17:12:38 -06:00
dtscreen Remove hardcoded CCLINK's in Imakefiles when linking with C++ built libs (DtSvc). 2012-06-19 16:27:20 -06:00
dtsearchpath Add -fpermissive to linux standard c++ option define in linux.cf 2012-06-18 16:27:25 -06:00
dtsession sys.resources.src: make HIGH_COLOR the default 2012-07-24 17:51:29 -06:00
dtspcd Remove hardcoded CCLINK's in Imakefiles when linking with C++ built libs (DtSvc). 2012-06-19 16:27:20 -06:00
dtsr Add GNU LGPL headers to all .c .C and .h files 2012-03-10 18:58:32 +00:00
dtstyle Remove hardcoded CCLINK's in Imakefiles when linking with C++ built libs (DtSvc). 2012-06-19 16:27:20 -06:00
dtterm Remove hardcoded CCLINK's in Imakefiles when linking with C++ built libs (DtSvc). 2012-06-19 16:27:20 -06:00
dtudcexch Remove hardcoded CCLINK's in Imakefiles when linking with C++ built libs (DtSvc). 2012-06-19 16:27:20 -06:00
dtudcfonted Remove hardcoded CCLINK's in Imakefiles when linking with C++ built libs (DtSvc). 2012-06-19 16:27:20 -06:00
dtwm Dtwm.defs.src: set proper mail file path for linux 2012-07-24 20:48:43 -06:00
fontaliases fontaliases: add more robust font.aliases file. 2012-06-21 18:30:40 -06:00
icons
localized dtwm: add missing workspace 'Occupy" commands to the C, de, es, fr, and it locales. 2012-07-24 21:21:27 -06:00
nsgmls nsgmls: Imakefile fixes so it will build 2012-06-19 18:04:53 -06:00
palettes
ttsnoop Linux compilation of ttsnoop (Matthew Howkins) 2012-04-12 19:08:52 +01:00
tttypes
types Remove dtinfo launcher and icons from the default front panel. 2012-06-19 19:22:08 -06:00
util Remove hardcoded CCLINK's in Imakefiles when linking with C++ built libs (DtSvc). 2012-06-19 16:27:20 -06:00
Imakefile programs/Imakefile: don't try to build dtksh or dtinfo under linux. 2012-08-03 23:10:12 -06:00