netcdf-c/ncdap_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
..
expected3 Forgot to add test files to github 2017-06-28 15:08:20 -06:00
expectremote3 Update affected test cases 2017-03-11 18:17:38 -07:00
expecttds3 Manual merge of pull request https://github.com/Unidata/netcdf-c/pull/64 contributed by nschloe. Assorted CMake improvements. 2014-06-11 15:51:31 -06:00
nocacheremote3 Manual merge of pull request https://github.com/Unidata/netcdf-c/pull/64 contributed by nschloe. Assorted CMake improvements. 2014-06-11 15:51:31 -06:00
special3 Manual merge of pull request https://github.com/Unidata/netcdf-c/pull/64 contributed by nschloe. Assorted CMake improvements. 2014-06-11 15:51:31 -06:00
testdata3 Forgot to add test files to github 2017-06-28 15:08:20 -06:00
CMakeLists.txt forgot to add to cmake 2017-07-14 16:44:50 -06:00
findtestserver.c 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
run_ncdap_tests.sh Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
t_auth.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
t_dap3a.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
t_dap3b.c Fixed the following Jira minor bugs: 2011-05-12 17:51:32 +00:00
t_dap3c.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
t_dap.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
t_misc.c Modified a number of tests 2014-10-04 15:59:16 -06:00
t_ncf330.c merge-squash 2015-08-15 16:26:35 -06:00
t_srcdir.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
test_cvt.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
test_environment.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
test_nstride_cached.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
test_partvar2.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
test_partvar.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
test_vara.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
test_varm3.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
testauth.old Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
testauth.sh Error in ncuri in handling user:pwd@ in url 2017-07-05 14:39:23 -06:00
testauth.sh.old Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
testbasicauth.sh ckp 2017-07-21 13:54:09 -06:00
testcontainerauth.sh ckp 2017-07-21 13:54:09 -06:00
testurl.sh Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
tst_ber.sh getting make -j check working 2017-11-17 10:49:06 -07:00
tst_formatx.sh getting make -j check working 2017-11-17 10:49:06 -07:00
tst_longremote3.sh Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
tst_ncdap3.sh Fix for github issue https://github.com/Unidata/netcdf-c/issues/310. 2017-06-28 13:51:01 -06:00
tst_ncdap_shared.sh turn of extra debug 2017-07-15 20:21:24 -06:00
tst_ncdap.sh getting make -j check working 2017-11-17 10:49:06 -07:00
tst_nocache3.sh Modified ncdap_test to allow a different method 2017-01-18 21:46:47 -07:00
tst_remote3.sh Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
tst_remote.sh Fix for github issue https://github.com/Unidata/netcdf-c/issues/310. 2017-06-28 13:51:01 -06:00
tst_special.sh Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
tst_tds.sh Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00