Skip to content

Fix #73, Make implicit padding in HK_AppData_t explicit#74

Open
thnkslprpt wants to merge 1 commit intonasa:mainfrom
thnkslprpt:fix-73-make-app-data-padding-explicit
Open

Fix #73, Make implicit padding in HK_AppData_t explicit#74
thnkslprpt wants to merge 1 commit intonasa:mainfrom
thnkslprpt:fix-73-make-app-data-padding-explicit

Conversation

@thnkslprpt
Copy link
Contributor

Checklist

Describe the contribution

  • Fixes #240
    • Adds some spare bytes (to align to 32-byte boundary) to make the implicit (compiler-added) padding after ErrCounter explicit (it was probably added after CombinedPacketsSent but I think putting the padding here might be more logical - either position is fine).

Testing performed
GitHub CI actions all passing successfully (incl. Build + Run, Unit/Functional Tests etc.).

Expected behavior changes
Avoids risk of size mismatch if decoding/encoding etc.

System(s) tested on
Debian 12 using the current main branch of cFS bundle.

Contributor Info
Avi Weiss   @thnkslprpt

@thnkslprpt thnkslprpt force-pushed the fix-73-make-app-data-padding-explicit branch from 2fc1c4f to 2e6abaa Compare June 7, 2025 16:30
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.

1 participant