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_ResourceId_FindNext can Seg Fault #1840

Closed
zanzaben opened this issue Aug 18, 2021 · 0 comments · Fixed by #1842 or #1839
Closed

CFE_ResourceId_FindNext can Seg Fault #1840

zanzaben opened this issue Aug 18, 2021 · 0 comments · Fixed by #1842 or #1839
Milestone

Comments

@zanzaben
Copy link
Contributor

zanzaben commented Aug 18, 2021

Describe the bug
If you pass a null for the CheckFunc argument then CFE_ResourceId_FindNext will Segmentation Fault. Also the Comments in the c file mention how it is an internal function which it currently isn't.

Expected behavior
There should be a null check.
A Functional Test for that null check.
Update the header file for the new return code

Additional context
new functional test should plan with #1782

Reporter Info
Alex Campbell GSFC

@skliper skliper added this to the 7.0.0 milestone Aug 18, 2021
zanzaben added a commit to zanzaben/cFE that referenced this issue Aug 18, 2021
zanzaben added a commit to zanzaben/cFE that referenced this issue Aug 18, 2021
astrogeco added a commit that referenced this issue Aug 18, 2021
…ll_check

Fix #1840, Add Null check for CFE_ResourceId_FindNext
zanzaben added a commit to zanzaben/cFE that referenced this issue Aug 18, 2021
astrogeco added a commit that referenced this issue Aug 18, 2021
…ll_check

Fix #1840, Hotfix for strict resource IDs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants