netcdf-c/dap4_test
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
..
baseline Missing CMakeLists.txt files 2017-05-17 19:33:03 -06:00
baselineraw Missing CMakeLists.txt files 2017-05-17 19:33:03 -06:00
baselineremote Missing CMakeLists.txt files 2017-05-17 19:33:03 -06:00
cdltestfiles Missing CMakeLists.txt files 2017-05-17 19:33:03 -06:00
daptestfiles Missing CMakeLists.txt files 2017-05-17 19:33:03 -06:00
dmrtestfiles Missing CMakeLists.txt files 2017-05-17 19:33:03 -06:00
nctestfiles Missing CMakeLists.txt files 2017-05-17 19:33:03 -06:00
CMakeLists.txt Missing CMakeLists.txt files 2017-05-17 19:33:03 -06:00
d4test_common.sh Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
findtestserver4.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
Make0 Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
Makefile.am Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
maketests.sh Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
test_common.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
test_data.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
test_data.sh getting make -j check working 2017-11-17 10:49:06 -07:00
test_environment4.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
test_hyrax.sh Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
test_meta.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
test_meta.sh getting make -j check working 2017-11-17 10:49:06 -07:00
test_parse.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
test_parse.sh getting make -j check working 2017-11-17 10:49:06 -07:00
test_raw.sh getting make -j check working 2017-11-17 10:49:06 -07:00
test_remote.sh ckp 2017-05-17 12:30:24 -06:00
test_test.sh Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
tst_data.sh Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
tst_meta.sh Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
tst_parse.sh Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
tst_raw.sh Suppress debug output 2017-08-29 15:10:55 -06:00