Skip to content

Fix #986: Add length validation for CFE_ES_SEND_HK_MID in TaskPipe#989

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

Fix #986: Add length validation for CFE_ES_SEND_HK_MID in TaskPipe#989
linerfan5114 wants to merge 1 commit into
nasa:mainfrom
linerfan5114:fix-986-es-send-hk-length-validation

Conversation

@linerfan5114
Copy link
Copy Markdown

Closes #986

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

Same fix pattern as #971 (TIME) and #987 (EVS).

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_ES_SEND_HK_MID in ES TaskPipe

1 participant