Skip to content

Fix handling of NULL strides, some warnings, and missing config.h includes in tests#1266

Merged
WardF merged 11 commits intoUnidata:masterfrom
NetCDF-World-Domination-Council:ejh_test_null_vars_stride
Jan 16, 2019
Merged

Fix handling of NULL strides, some warnings, and missing config.h includes in tests#1266
WardF merged 11 commits intoUnidata:masterfrom
NetCDF-World-Domination-Council:ejh_test_null_vars_stride

Conversation

@edhartnett
Copy link
Copy Markdown
Contributor

@edhartnett edhartnett commented Dec 31, 2018

Fixes #1265 .
Fixes #1268.
Fixes #1269.

Fixes the segfault that results from a NULL stride to an nc_get/put_vars_*() call, with tests.

Also fixes HDF4 compile warning due to nc_abort/nc_close signatures no longer being the same, and compile warning in tst_interops.

Also fixes a bunch of tests that don't include config.h, or don't include it first.

@edhartnett edhartnett changed the title Fix handling of NULL strides and test in all formats Fix handling of NULL strides, some warnings, and missing config.h includes in tests Jan 2, 2019
@WardF WardF mentioned this pull request Jan 15, 2019
@WardF WardF merged commit 4c538d7 into Unidata:master Jan 16, 2019
@edhartnett edhartnett deleted the ejh_test_null_vars_stride branch February 16, 2019 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compile warning for nc_test5/tst_interops.c HDF4 dispatch table warning due to nc_close/nc_abort NULL stride to nc_put_vars_*() causes segfault

2 participants