netcdf-c/libdap2
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
..
obsolete
cache.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
cdf.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
CMakeLists.txt Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
common.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
constraints.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
constraints.h
cvt
dapattr.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
dapcvt.c Force attribute value to be in-range vs causing error. 2017-10-23 18:27:43 -06:00
dapdebug.c The files libdispatch/dwinpath.c and include/ncwinpath.h 2017-07-13 10:40:07 -06:00
dapdebug.h Turn off debug noise 2017-07-14 15:32:17 -06:00
dapdump.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
dapdump.h
dapincludes.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
dapnc.h
dapodom.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
dapodom.h
daputil.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
daputil.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
dce.y
dceconstraints.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
dceconstraints.h
dcelex.c
dceparse.c A netcdfgroup email 2016-06-24 15:28:50 -06:00
dceparselex.h A couple of people have reported that 2016-07-11 14:11:20 -06:00
dcetab.c A netcdfgroup email 2016-06-24 15:28:50 -06:00
dcetab.h A netcdfgroup email 2016-06-24 15:28:50 -06:00
env ckp 2017-03-11 15:20:20 -07:00
getvara.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
getvara.h
main.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
Make0 Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
Makefile.am Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
nccommon.h If DAP (2 or 4) is enabled, but diskless is disabled, then the 2017-08-05 22:41:31 -06:00
ncd2dispatch.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
ncd2dispatch.h Add szip support via libaec 2017-08-27 13:35:20 -06:00
ncdap.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
ncdapa.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
ncdaperr.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
test1.sh
test_vara.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
todo
translation.html