Skip to content

Fix: Memory alignment issues#3530

Open
ShitalJumbad wants to merge 2 commits intoDMTF:mainfrom
ShitalJumbad:fix-3356
Open

Fix: Memory alignment issues#3530
ShitalJumbad wants to merge 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>
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

2 participants