nasa / CF

The Core Flight System (cFS) CFDP application.
Apache License 2.0
76 stars 45 forks source link

Fix #401, use valid size when calling CFE_MSG_Init #402

Closed jphickey closed 1 year ago

jphickey commented 1 year ago

Checklist (Please check before submitting)

Describe the contribution Use the offset of the payload start, which by definition must include at least enough space for the primary header. This ensures that the value will pass any size check enforced in CFE_MSG_Init.

Fixes #401

Testing performed Found and Tested as part of the stakeholder software delivery

Expected behavior changes CF sends PDUs successfully (with valid msgid)

Contributor Info - All information REQUIRED for consideration of pull request Joseph Hickey, Vantage Systems, Inc.