Skip to content

Fix #987: Add length validation for CFE_EVS_SEND_HK_MID in ProcessCommandPacket#988

Open
linerfan5114 wants to merge 1 commit into
nasa:mainfrom
linerfan5114:fix-987-evs-send-hk-length-validation
Open

Fix #987: Add length validation for CFE_EVS_SEND_HK_MID in ProcessCommandPacket#988
linerfan5114 wants to merge 1 commit into
nasa:mainfrom
linerfan5114:fix-987-evs-send-hk-length-validation

Conversation

@linerfan5114
Copy link
Copy Markdown

Closes #987

Added CFE_EVS_VerifyCmdLength check before processing SEND_HK_MID in CFE_EVS_ProcessCommandPacket(). This matches the existing pattern used in CFE_EVS_ProcessGroundCommand() for all other command codes, and prevents OOB reads from malformed/truncated packets.

Same fix pattern as #971 (TIME) and #986 (ES).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[SECURITY] Missing length validation for CFE_EVS_SEND_HK_MID in EVS ProcessCommandPacket

1 participant