Skip to content

Fix: Memory alignment issues#3530

Merged
jyao1 merged 2 commits intoDMTF:mainfrom
ShitalJumbad:fix-3356
Mar 3, 2026
Merged

Fix: Memory alignment issues#3530
jyao1 merged 2 commits intoDMTF:mainfrom
ShitalJumbad:fix-3356

Conversation

@ShitalJumbad
Copy link
Contributor

Fix #3356

Fix DMTF#3356

Signed-off-by: Shital Jumbad <sjumbad@nvidia.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@ShitalJumbad
Copy link
Contributor Author

Instead of libspdm_copy_mem as suggested in the issue, used the existing alignment-safe helpers (libspdm_read_uint16, libspdm_read_uint32, libspdm_write_uint32)
There are similar alignment issues in unit test and fuzzing test files. Should I add them in this PR too?

@steven-bellock
Copy link
Contributor

There are similar alignment issues in unit test and fuzzing test files. Should I add them in this PR too?

Yes, you can add them to this pull request, preferably as its own commit so we can distinguish between updates to production and test code. Thanks.

… code

Fix DMTF#3356

Signed-off-by: Shital Jumbad <sjumbad@nvidia.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@jyao1 jyao1 merged commit 4a02dbc into DMTF:main Mar 3, 2026
97 checks passed
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.

Memory alignment issues

3 participants