netcdf-c/ncgen
Dennis Heimbigner 245961de00 re: github issues
https://github.com/Unidata/netcdf-c/issues/1168
    https://github.com/Unidata/netcdf-c/issues/1163
    https://github.com/Unidata/netcdf-c/issues/1162

This PR partially fixes memory leaks in the netcdf-c library,
in the ncdump utility, and in some test cases.

The netcdf-c library now runs memory clean with the assumption
that the --disable-utilities option is used. The primary remaining
problem is ncgen. Once that is fixed, I believe the netcdf-c library
will run memory clean with no limitations.

Notes
-----------
1. Memory checking was performed using gcc -fsanitize=address.
   Valgrind-based testing has yet to be performed.
2. The pnetcdf, hdf4, and examples code has not been tested.

Misc. Non-leak changes
1. Make tst_diskless2 only run when netcdf4 is enabled (issue 1162)
2. Fix CmakeLists.txt to turn off logging if ENABLE_NETCDF_4 is OFF
3. Isolated all my debug scripts into a single top-level directory
   called debug
4. Fix some USE_NETCDF4 dependencies in nc_test and nc_test4 Makefile.am
2018-10-30 20:48:12 -06:00
..
bindata.c Cleanup ncgen memory management 2017-10-30 15:52:08 -06:00
bytebuffer.c Cleanup some ncgen memory problems 2017-10-31 14:03:57 -06:00
bytebuffer.h
c0_4.cdl Tweaking cdl files so that we can compare against them. 2016-11-18 11:07:20 -07:00
c0.cdl Tweaking cdl files so that we can compare against them. 2016-11-18 11:07:20 -07:00
c5.cdl
cdata.c support fixes for Github issue 323 2016-11-17 15:29:32 -07:00
cdfdata.c Cleanup ncgen memory management 2017-10-30 15:52:08 -06:00
CMakeLists.txt Cmake 2017-06-06 16:21:04 -06:00
cmldata.c
compound_datasize_test2.cdl support fixes for Github issue 323 2016-11-17 15:29:32 -07:00
compound_datasize_test.cdl Reformated source cdl to allow for a diff test. 2016-11-16 10:57:36 -07:00
ctests.sh Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
cvt.c Merge remote-tracking branch 'origin/cleanncgen.dmh' into pr-aggregate.wif 2018-04-20 13:06:26 -06:00
data.c Cleanup some ncgen memory problems 2017-10-31 14:03:57 -06:00
data.h support fixes for Github issue 323 2016-11-17 15:29:32 -07:00
debug.c Fix missing return statement identified by lgtm 2018-04-23 10:54:44 -06:00
debug.h Cleanup ncgen memory management 2017-10-30 15:52:08 -06:00
depend
dump.c
dump.h
env
escapes.c Cleanup ncgen memory management 2017-10-30 15:52:08 -06:00
f77data.c support fixes for Github issue 323 2016-11-17 15:29:32 -07:00
foo.cdl
ftests.sh Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
genbin.c Corrected a couple of potential memory related issues and an uninitialized variable issue. 2018-06-08 11:38:11 -06:00
genc.c Fix compression logic 2018-05-07 08:34:41 -06:00
genchar.c Cleanup ncgen memory management 2017-10-30 15:52:08 -06:00
gencml.c
generate.c Cleanup ncgen memory management 2017-10-30 15:52:08 -06:00
generr.c Cleanup some ncgen memory problems 2017-10-31 14:03:57 -06:00
generr.h
genf77.c
genj.c
genjjni.c Cleanup ncgen memory management 2017-10-30 15:52:08 -06:00
genjstd.c
genlib.c Merge remote-tracking branch 'origin/cleanncgen.dmh' into pr-aggregate.wif 2018-04-20 13:06:26 -06:00
genlib.h Merge remote-tracking branch 'origin/cleanncgen.dmh' into pr-aggregate.wif 2018-04-20 13:06:26 -06:00
getfill.c
includes.h 1. Keep up to date by merging master 2017-10-08 15:56:45 -06:00
internals.html Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
jdata.c support fixes for Github issue 323 2016-11-17 15:29:32 -07:00
jdatajni.c Cleanup ncgen memory management 2017-10-30 15:52:08 -06:00
jdatastd.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
jtests.sh
lfs-tests Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
list.c
list.h
main.c There was a request to extend the provenance information 2018-08-25 21:44:41 -06:00
Makefile.am merge master and resolve conflicts 2017-08-12 15:50:31 -06:00
makeparser.sh Swapped /bin/bash for /bin/sh to test on osx. 2018-08-12 23:01:08 -06:00
nc_iter.c
nc_iter.h added guards for header files that needed them 2018-01-17 09:20:20 -07:00
ncf199.cdl Updating ncgen run_nc4_tests.sh script to ensure that results are tested in addition to whether or not ncgen exited successfully. 2016-11-16 11:09:14 -07:00
ncf345.cdl Misc. source comment typos 2018-04-26 23:04:01 -04:00
ncgen.1 Fix spelling errors. 2016-08-28 15:45:36 +02:00
ncgen.h Misc. source comment typos 2018-04-26 23:04:01 -04:00
ncgen.l Merge branch 'master' into ejh_streq 2018-05-17 04:26:59 -06:00
ncgen.y Merge branch 'master' into ejh_streq 2018-05-17 04:26:59 -06:00
ncgenl.c Merge branch 'master' into ejh_streq 2018-05-17 04:26:59 -06:00
ncgeny.c Merge branch 'master' into ejh_streq 2018-05-17 04:26:59 -06:00
ncgeny.h changed macro STREQ to NCSTREQ to avoid name collusion with HDF4 library 2018-05-12 08:55:51 -06:00
odom.c Cleanup ncgen memory management 2017-10-30 15:52:08 -06:00
odom.h
ref_camrun.cdl Misc. source comment typos 2018-04-26 23:04:01 -04:00
run_tests2.sh Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
semantics.c Re-Implement the nc_get/put_vars operations for netcdf-4 using the 2018-05-22 16:50:52 -06:00
tst_gattenum.cdl Apparently we have no .cdl test cases that have 2017-03-18 17:57:48 -06:00
tst_usuffix.cdl re: gihub issue https://github.com/Unidata/netcdf-c/issues/380 2017-03-24 18:56:14 -06:00
util.c Cleanup some ncgen memory problems 2017-10-31 14:03:57 -06:00
util.h
XGetopt.c