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_MSG_GetTypeFromMsgId not handling all invalid inputs #1757

Closed
zanzaben opened this issue Aug 3, 2021 · 0 comments · Fixed by #1758 or #1759
Closed

CFE_MSG_GetTypeFromMsgId not handling all invalid inputs #1757

zanzaben opened this issue Aug 3, 2021 · 0 comments · Fixed by #1758 or #1759
Assignees
Labels
Milestone

Comments

@zanzaben
Copy link
Contributor

zanzaben commented Aug 3, 2021

Is your feature request related to a problem? Please describe.
CFE_MSG_GetTypeFromMsgId calls CFE_MSG_SetMsgId and CFE_MSG_GetType but ignores those return calls. They can return fail status codes so CFE_MSG_GetTypeFromMsgId should handle that.

Describe the solution you'd like
CFE_MSG_GetTypeFromMsgId should check for failing status codes and return them if they happen.

Requester Info
Alex Campbell GSFC

@skliper skliper added the bug label Aug 4, 2021
@skliper skliper added this to the 7.0.0 milestone Aug 4, 2021
@zanzaben zanzaben self-assigned this Aug 4, 2021
zanzaben added a commit to zanzaben/cFE that referenced this issue Aug 4, 2021
zanzaben added a commit to zanzaben/cFE that referenced this issue Aug 4, 2021
zanzaben added a commit to zanzaben/cFE that referenced this issue Aug 4, 2021
astrogeco added a commit that referenced this issue Aug 4, 2021
…ypeFromMsgId

Fix #1757, Handle fail status from internal functions of CFE_MSG_GetT…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants