netcdf-c/ncgen3
Dennis Heimbigner 4db4393e69 Begin changing over to use strlcat instead of strncat because
strlcat provides better protection against buffer overflows.

Code is taken from the FreeBSD project source code. Specifically:
https://github.com/freebsd/freebsd/blob/master/lib/libc/string/strlcat.c
License appears to be acceptable, but needs to be checked by e.g. Debian.

Step 1:
1. Add to netcdf-c/include/ncconfigure.h to use our version
   if not already available as determined by HAVE_STRLCAT in config.h.
2. Add the strlcat code to libdispatch/dstring.c
3. Turns out that strlcat was already defined in several places.
   So remove it from:
	ncgen3/genlib.c
	ncdump/dumplib.c
3. Define strlcat extern definition in ncconfigure.h.
4. Modify following directories to use strlcat:
	libdap2 libdap4 ncdap_test dap4_test
   Will do others in subsequent steps.
2017-11-23 10:55:24 -07:00
..
bigf1.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
bigf2.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
bigf3.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
bigr1.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
bigr2.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
bigr3.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
c0.cdl merge-squash 2015-08-15 16:26:35 -06:00
CMakeLists.txt Updated CMakelists to remove debug, release subdirectories on Windows. Updating shell scripts to work with MSYS paths. 2015-02-02 14:46:50 -07:00
depend moving to trunk subdir 2010-06-03 13:24:43 +00:00
escapes.c Fix common typos 2015-08-20 11:42:05 +02:00
generic.h moving to trunk subdir 2010-06-03 13:24:43 +00:00
genlib.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
genlib.h Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
getfill.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
init.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
lfs-tests Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
load.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
main.c ckp 2017-04-14 11:05:30 -06:00
Makefile.am Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
ncgen3.1 hyphens used as minus signs 2015-01-16 13:12:11 +01:00
ncgen.h Many changes to address NCF-177 (renaming dimensions and variables). Also 2013-11-30 23:20:28 -06:00
ncgen.l Historically 2013-05-15 17:37:04 +00:00
ncgen.y Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
ncgentab.c Historically 2013-05-15 17:37:04 +00:00
ncgentab.h Historically 2013-05-15 17:37:04 +00:00
ncgenyy.c Historically 2013-05-15 17:37:04 +00:00
run_nc4_tests.sh Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
run_tests2.sh Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
run_tests.sh Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
XGetopt.c Merge from latest netcdf-cmake branch. 2012-12-05 18:35:42 +00:00