Commit Graph

4059 Commits

Author SHA1 Message Date
Ward Fisher
784ed7449c Merge branch 'erange_fill_fix' of https://github.com/wkliao/netcdf-c into wkliao-ghpull464 2017-08-21 09:42:13 -06:00
Dennis Heimbigner
37834917e9 Fix up documentation to replace old auth documentation
with a revised auth.md document.
2017-08-20 18:27:48 -06:00
Dennis Heimbigner
b0cf032ddd Merge branch 'master' into authtesting.dmh 2017-08-20 15:01:19 -06:00
Wei-keng Liao
8b6d131cbe Because ncx.c and putget.c are to be released with the package in case users do not have m4, the generation of the two C files cannot depend on the configure option of --enable-erange-fill. This commit fixes this problem by replacing m4 conditional define with C conditional preprocess. 2017-08-20 14:32:57 -05:00
edhartnett
6ef8dc32fe fixed some refs 2017-08-20 04:40:27 -06:00
Wei-keng Liao
2a68d58433 avoid calling NC3_inq_var_fill when ERANGE_FILL is enabled 2017-08-20 02:04:29 -05:00
Ward Fisher
028e1b1831 Merge branch 'static-analysis' into v4.5.0-release-branch 2017-08-15 14:23:31 -06:00
edhartnett
40e53580b6 fixed some refs 2017-08-15 14:01:17 -06:00
edhartnett
6b407dd38b fixed a subsection header 2017-08-15 13:33:03 -06:00
edhartnett
50566bad6b fixed some refs 2017-08-15 13:30:55 -06:00
Ward Fisher
04f88f5d83 Corrected some potential buffer overruns flagged by clang via static analysis. 2017-08-15 12:19:05 -06:00
Ward Fisher
cfb6549606 Corrected an issue reported by clang. 2017-08-15 12:03:15 -06:00
Ward Fisher
80318f6413 Merge branch 'v4.5.0-release-branch' 2017-08-14 13:52:13 -06:00
Ward Fisher
e006ea5e07 Fixed a simple mistake in test organization. 2017-08-11 18:36:44 -06:00
Ward Fisher
85e9aaf368 Wiring in a large test to check against a regression for the issue described in https://github.com/Unidata/netcdf-c/pull/457 2017-08-11 18:18:11 -06:00
Ward Fisher
22d4754306 Merge branch 'free_mpi_obj' of https://github.com/wkliao/netcdf-c into two-pulls 2017-08-10 14:30:59 -06:00
Ward Fisher
8fcf0e53cc Merge branch 'master' of https://github.com/edhartnett/netcdf-c into two-pulls 2017-08-10 14:30:05 -06:00
Ed Hartnett
eb98d238d0 Merge branch 'master' into master 2017-08-10 12:47:17 -06:00
edhartnett
96c8e190e7 fixed table and link in Large File section 2017-08-10 12:44:57 -06:00
Ward Fisher
8251784ec2 Merge branch 'tmp' into v4.5.0-release-branch 2017-08-09 14:13:42 -06:00
Ward Fisher
290ca69a70 Merge branch '17_64BIT_DATA_bug' of https://github.com/pastewka/netcdf-c into tmp 2017-08-09 14:13:30 -06:00
Ward Fisher
5f0e76b281 Updated release notes. 2017-08-09 14:12:24 -06:00
Lars Pastewka
bd33076424 Fixed computation of recsize for NC_64BIT_DATA files. 2017-08-09 21:47:08 +02:00
Ward Fisher
b50508479a Added a new product to the static software html page. 2017-08-08 16:11:13 -06:00
Wei-keng Liao
7992242a39 Call nc_close, which calls MPI_File_close, to avoid MPI wraning messages on MPI objects are still allocated. 2017-08-08 16:54:38 -05:00
Ward Fisher
24ca95645c Applied fix for a stack buffer overflow into 4.5.0 release branch. 2017-08-08 13:18:53 -06:00
Ward Fisher
ac503dd565 Updated release notes in support of https://github.com/Unidata/netcdf-c/pull/450 2017-08-08 13:17:51 -06:00
Ward Fisher
a6e3f577f2 Merge pull request #450 from rouault/fix_nc4_check_name_buffer_overflow
Fix stack buffer overflow in nc4_check_name()
2017-08-08 13:15:42 -06:00
Ward Fisher
f6ac978f25 Merge branch 'master' into fix_nc4_check_name_buffer_overflow 2017-08-08 11:22:06 -06:00
Ward Fisher
99625c0c9f Merge branch 'v4.5.0-release-branch' 2017-08-07 14:03:17 -06:00
Ward Fisher
8ab714f1d8 Corrected a missing endif. 2017-08-07 10:23:15 -06:00
Ward Fisher
a3f2dcff3c Corrected release date for rc2 2017-08-07 10:13:27 -06:00
Ward Fisher
05d3d7e9f5 Merge remote-tracking branch 'origin/d4tempfile.dmh' into v4.5.0-release-branch 2017-08-07 10:12:36 -06:00
Dennis Heimbigner
4d8fbbf501 If DAP (2 or 4) is enabled, but diskless is disabled, then the
dap code will create a real temporary file in which to store the
converted metadata for the DAP .dds or .dmr.

It was assumed that the nc_close code would reclaim the
temporary file. For DAP2, reclamation occurs in the ncio
code. For DAP4, it was assumed that the libsrc4 code would do
the reclamation, but for whatever reason, this is not happening.
Thus, in this situation, a temporary file is left in the file
system. Aside from being irritating to users, this screws up
'make distcheck'.

So the DAP4 code is fixed to ensure that the temporary file is
properly reclaimed independent of the libsrc4 code.
2017-08-05 22:41:31 -06:00
Ward Fisher
0a02f0cac7 Updated release notes for 4.5.0-rc2 2017-08-03 17:01:16 -06:00
Even Rouault
1989ddc252 Fix stack buffer overflow in nc4_check_name()
nc4_check_name() checks that the provided string doesn't exceed NC_MAX_NAME,
but fails to do so after calling nc_utf8_normalize(). This extra check is
needed since a caller of nc4_check_name(), like NC4_def_dim, allocates
norm_name as char norm_name[NC_MAX_NAME + 1]

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2840
Credit to OSS-Fuzz
2017-08-02 21:57:36 +02:00
Ward Fisher
716f76c322 Merge remote-tracking branch 'origin/issue435.dmh' into v4.5.0-release-branch 2017-07-28 15:24:16 -06:00
Ward Fisher
eea1cecaa9 Merge branch 'multi-pull' into v4.5.0-release-branch 2017-07-27 12:48:59 -06:00
Ward Fisher
9e7a902dcf Merge branch 'issue435.dmh' into multi-pull 2017-07-27 12:20:11 -06:00
Ward Fisher
8700f1bfd4 Merge branch 'v4.5.0-release-branch' into issue435.dmh 2017-07-27 12:17:16 -06:00
Ward Fisher
c88bc64bfa Merge remote-tracking branch 'origin/fieldmap.dmh' into multi-pull 2017-07-27 12:16:37 -06:00
Ward Fisher
44b82e8f1d Merge pull request #439 from Unidata/winpath.again.dmh
Add additional path name conversion checks
2017-07-26 15:45:34 -06:00
Ward Fisher
3e166fd26a Accomodating Windows winsock issue. 2017-07-26 13:40:03 -06:00
Ward Fisher
30711ccb20 Updated shell scripts to accomodate windows style carriage returns. 2017-07-26 13:35:27 -06:00
Dennis Heimbigner
07d67e737a 1. Cleaned up some holdover debug code.
2. modified ncdap_tests to remove <cr>
   from generated output before comparison
   to expected. This is a hack because
   my other attempts to force windows to use
   binary mode have not worked.
2017-07-25 14:58:29 -06:00
Dennis Heimbigner
6a1876602b Merge branch 'v4.5.0-release-branch' into winpath.again.dmh 2017-07-25 13:16:33 -06:00
Dennis Heimbigner
0ccece70e8 Solve issue https://github.com/Unidata/netcdf-c/issues/359
from e-support OYW-455599.

Problem was that in nctime.c#CDMonthDay, it was setting up
the month -> #days table correctly, but it did not use it
because it forgot to check for Cd366, it only checked for Cd365.
2017-07-25 11:58:34 -06:00
Dennis Heimbigner
1b564ed257 merge v4.5 2017-07-24 19:04:38 -06:00
Dennis Heimbigner
0dfe8465bf Merge branch 'v4.5.0-release-branch' into cal366.dmh 2017-07-24 19:03:11 -06:00
Dennis Heimbigner
9e2d6faaf6 Solve issue https://github.com/Unidata/netcdf-c/issues/359
from e-support OYW-455599.

Problem was that in nctime.c#CDMonthDay, it was setting up
the month -> #days table correctly, but it did not use it
because it forgot to check for Cd366, it only checked for Cd365.
2017-07-24 18:59:16 -06:00