Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added version number to dispatch table, and check it in nc_def_user_format() #1635

Merged
merged 13 commits into from
Feb 26, 2020
Merged

added version number to dispatch table, and check it in nc_def_user_format() #1635

merged 13 commits into from
Feb 26, 2020

Conversation

edwardhartnett
Copy link
Contributor

@edwardhartnett edwardhartnett commented Feb 9, 2020

Fixes #1599
Fixes #1031

As discussed with @DennisHeimbigner in this PR a version number is added to the dispatch table, and checked by nc_def_user_format().

If the version number is incorrect, nc_def_user_format() rejects with dispatch table with NC_EINVAL.

This is to help ensure that the dispatch table used by PIO and other third party libraries is correct.

@edwardhartnett
Copy link
Contributor Author

@WardF this PR should be merged before next release. It contains some additional checking that Dennis suggested for user-defined formats. We want to get those new checks out as soon as possible.

Thanks!

@WardF WardF merged commit 50c3c37 into Unidata:master Feb 26, 2020
@edwardhartnett
Copy link
Contributor Author

Thanks @WardF !

@edwardhartnett edwardhartnett deleted the ejh_dispatch branch February 27, 2020 12:13
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.

User Defined formats considered harmful :-) User-Defined Format Issues...
2 participants