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

CFE_ES_ClearCDS: check status before while loop to zero #1338

Closed
skliper opened this issue Apr 13, 2021 · 0 comments · Fixed by #1373 or #1431
Closed

CFE_ES_ClearCDS: check status before while loop to zero #1338

skliper opened this issue Apr 13, 2021 · 0 comments · Fixed by #1373 or #1431
Assignees
Milestone

Comments

@skliper
Copy link
Contributor

skliper commented Apr 13, 2021

Is your feature request related to a problem? Please describe.
Status not checked from CFE_ES_CDS_CachePreload:

Status = CFE_ES_CDS_CachePreload(&CDS->Cache, NULL, 0, sizeof(CDS->Cache.Data.Zero));

Describe the solution you'd like
Analyze, check status if needed otherwise document why not for future reference

Describe alternatives you've considered
None

Additional context
Code review

Requester Info
Jacob Hageman - NASA/GSFC

@skliper skliper added this to the 7.0.0 milestone Apr 13, 2021
jphickey added a commit to jphickey/cFE that referenced this issue Apr 16, 2021
Confirm that the call returned CFE_SUCCESS before continuing.
jphickey added a commit to jphickey/cFE that referenced this issue Apr 20, 2021
The function cannot fail in this context
astrogeco added a commit that referenced this issue Apr 28, 2021
Fix #1338, check status of call to CFE_ES_CDS_CachePreload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants