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_fs_api.c on line 139 (based on the equuleus-rc1 tag). The CFE_FS_ReadHeader function assumes that the buffer is correctly filled without checking if the read operation was successful. If the read operation fails or reads fewer bytes than expected, the buffer Hdr may contain uninitialized or partially initialized data, which could lead to undefined behavior when accessing the buffer.
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_fs_api.c on line 139 (based on the equuleus-rc1 tag). The CFE_FS_ReadHeader function assumes that the buffer is correctly filled without checking if the read operation was successful. If the read operation fails or reads fewer bytes than expected, the buffer Hdr may contain uninitialized or partially initialized data, which could lead to undefined behavior when accessing the buffer.
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: