Skip to content

Conversation

@mjmccaskey
Copy link
Contributor

CFE_FS_WriteHeader was writing the unpacked file header as opposed to the packed object. While the packed and unpacked objects have the same size the unpacked object may have a different endianness. For example the content type would show up as '1EFc' instead of 'cFE1' when looking at the output file in a hex editor.

This fix writes the packed LocalBuffer to file instead of the unpacked Hdr object.

jphickey added a commit that referenced this pull request Oct 1, 2021
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