-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the bug
Overrunning struct type CFE_MSG_Message_t of 16 bytes by passing it to a function which accesses it at byte offset 19 using argument 20UL.
Expected behavior
Fix overrun
Code snips
sample_app/fsw/src/sample_app.c
Lines 166 to 167 in d009197
| CFE_MSG_Init(&SAMPLE_APP_Data.HkTlm.TlmHeader.Msg, CFE_SB_ValueToMsgId(SAMPLE_APP_HK_TLM_MID), | |
| sizeof(SAMPLE_APP_Data.HkTlm)); |
System observed on:
Coverity: https://scan.coverity.com/projects/arielsadamsnasa-cfs-jsf-rules?tab=overview
Reporter Info
Ariel Adams, ASRC Federal
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request