netcdf-c/include
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
..
.gitignore Added a new .gitignore specific to include/. 2014-09-18 15:05:08 -06:00
ceconstraints.h Fix Jirs 255 2013-05-16 18:22:17 +00:00
CMakeLists.txt Finalize the compression support. 2017-04-27 13:01:59 -06:00
err_macros.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
fbits.h minor refactor of the build system to work better for cross-compiling 2011-03-15 10:19:08 +00:00
Makefile.am Merge branch 'master' into filters.dmh 2017-11-13 11:15:02 -07:00
nc3dispatch.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
nc3internal.h Merge branch 'master' into open_check_vlens 2017-05-05 17:02:36 -06:00
nc4dispatch.h Add szip support via libaec 2017-08-27 13:35:20 -06:00
nc4internal.h Add szip support via libaec 2017-08-27 13:35:20 -06:00
nc_hashmap.h Corrected an issue preventing gcc-4.4 from compiling netcdf. 2016-04-26 21:09:41 +00:00
nc_logging.h Corrected "BAIL" macros to avoid infinite loop when logging is disabled and an 2013-12-29 01:12:43 -06:00
nc_tests.h fixed ENABLE_CDF5 issue in some tests 2017-11-05 09:06:48 -07:00
nc.h re e-support UBS-599337 2017-10-24 16:25:09 -06:00
ncauth.h This pr should probably be delayed until after Version 4.5. 2017-09-02 18:09:36 -06:00
ncaux.h 2011-09-18 20:57:51 +00:00
ncbytes.h Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
ncconfigure.h Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
ncdap.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
ncdimscale.h minor refactor of the build system to work better for cross-compiling 2011-03-15 10:19:08 +00:00
ncdispatch.h Merge branch 'master' into filters.dmh 2017-11-13 11:15:02 -07:00
ncexternl.h Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
ncfilter.h 1. Keep up to date by merging master 2017-10-08 15:56:45 -06:00
nchashmap.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
nclist.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
nclog.h Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
ncoffsets.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
ncrc.h This pr should probably be delayed until after Version 4.5. 2017-09-02 18:09:36 -06:00
nctestserver.h re: pull request: https://github.com/Unidata/netcdf-c/issues/487 2017-09-18 16:44:31 -06:00
nctime.h Solve issue https://github.com/Unidata/netcdf-c/issues/359 2017-07-24 18:59:16 -06:00
ncuri.h Undo DECODE_IDENTIFIER change 2017-08-29 18:01:26 -06:00
ncutf8.h re: pull request https://github.com/Unidata/netcdf-c/pull/364 2017-06-18 21:06:19 -06:00
ncwinpath.h 1. Cleaned up some holdover debug code. 2017-07-25 14:58:29 -06:00
netcdf_f.h Merged changes from netcdf-branch. 2012-12-13 22:09:41 +00:00
netcdf_mem.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
netcdf_meta.h.in Updating netcdf_meta.h to include CDF5. 2017-09-26 11:32:12 -06:00
netcdf_par.h added more documentation 2017-11-08 03:33:44 -07:00
netcdf.h Updated v1hpg.c to make header padding with null byte checks optional. 2017-11-20 16:08:06 -07:00
onstack.h Fix preprocessor for mingw 2015-12-07 18:08:13 -08:00
rnd.h moved string.c to libdispatch 2011-07-12 17:58:42 +00:00
XGetopt.h 2012-09-10 22:37:38 +00:00