-
Notifications
You must be signed in to change notification settings - Fork 217
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
Fix #742, make sure all pointers are checked for null #766
Fix #742, make sure all pointers are checked for null #766
Conversation
Note - we should not be doing pointer checks on internal functions - only those that are part of the public API. I took a glance at the proposed commit and I see it is adding checks to internal routines. This is inefficient and unnecessary - as the value should have been already checked in the public API it was called from. It is also my understanding that code standards only require it on externally-called functions. |
Concur. The coding standard applies to all the APIs. |
a375c4c
to
a16e146
Compare
After removing all the internal checks this pull request is just a bunch of formatting fixes and changing comments to all use the same terminology. |
Can you add the BUGCHECKs in the void public APIs? That would close out the issue. |
a16e146
to
9d9b20a
Compare
Done |
CCB:2021-01-27 APPROVED with CHANGES
|
9d9b20a
to
3b2c729
Compare
Describe the contribution
Fixes #742
Went through all the api's and made sure all pointers have a null check, or a comment stating that it can be null.
Fixes #765
Testing performed
Build and run unit test
Expected behavior changes
none
System(s) tested on
Ubuntu 20.04
Additional context
13 To Do left in here that will be fixed by #765
Contributor Info - All information REQUIRED for consideration of pull request
Alex Campbell GSFC