-
Notifications
You must be signed in to change notification settings - Fork 206
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
MSG testcase passes in two bad arguments at once #2488
Comments
jphickey
added a commit
to jphickey/cFE
that referenced
this issue
Dec 19, 2023
Pass in CFE_SB_INVALID_MSG_ID separately from a NULL pointer. This also required updates to the way the MSG module checks the MsgID, as it was not using the IsValidMsgID check.
2 tasks
jphickey
added a commit
to jphickey/cFE
that referenced
this issue
Dec 19, 2023
Pass in CFE_SB_INVALID_MSG_ID separately from a NULL pointer. This also required updates to the way the MSG module checks the MsgID, as it was not using the IsValidMsgID check.
jphickey
added a commit
to jphickey/cFE
that referenced
this issue
Jan 12, 2024
dzbaker
added a commit
that referenced
this issue
Jan 17, 2024
Fix #2488, separate bad argument test
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The
CFE_MSG_Init()
test is passing in both an invalid pointer as well as an invalid MsgID into the same invocation. While this should return an error code either way, its not clear which bad argument is producing the error.To Reproduce
N/A
Expected behavior
Should pass in only one "bad" argument at a time.
Code snips
The test case in this line:
cFE/modules/cfe_testcase/src/msg_api_test.c
Line 52 in 7f5ebcd
System observed on:
Debian
Additional context
Passing in only one bad value at a time ensures that each one is checked.
Reporter Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: