You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that if this fails for one of the other reasons, the output pointer is not set to a valid buffer. But CF code will proceed to access the (uninitialized) buffer, so this is a risk of undefined behavior/segfault/etc.
jphickey
added a commit
to jphickey/CF
that referenced
this issue
Dec 1, 2021
Checking of the status return from this CFE API call is not correct/sufficient:
CF/fsw/src/cf_cfdp.c
Lines 1365 to 1369 in 7b99b91
This function may fail for a number of reasons, not limited to
CFE_SB_NO_MESSAGE
.The preferred check should be:
The text was updated successfully, but these errors were encountered: