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
Describe the bug
Static code analysis with TrustInSoft identified a potential issue in cfe_msg_init.c, line 34 (based on the equuleus-rc1 tag). The function initializes a buffer (MsgPtr) with a size (Size) that could be smaller than the expected size of the message structure (CFE_MSG_Message_t). If the size is smaller, only part of the buffer is initialized, leading to undefined behavior when the uninitialized parts are accessed.
To Reproduce
Run TrustInSoft Static Code Analysis on the codebase
Reporter Info
Tvisha Andharia - GSFC 582 Intern
The text was updated successfully, but these errors were encountered:
Describe the bug
Static code analysis with TrustInSoft identified a potential issue in cfe_msg_init.c, line 34 (based on the equuleus-rc1 tag). The function initializes a buffer (MsgPtr) with a size (Size) that could be smaller than the expected size of the message structure (CFE_MSG_Message_t). If the size is smaller, only part of the buffer is initialized, leading to undefined behavior when the uninitialized parts are accessed.
To Reproduce
Run TrustInSoft Static Code Analysis on the codebase
Reporter Info
Tvisha Andharia - GSFC 582 Intern
The text was updated successfully, but these errors were encountered: