Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

posix: align mailboxes #9434

Merged
merged 1 commit into from
Sep 10, 2024
Merged

posix: align mailboxes #9434

merged 1 commit into from
Sep 10, 2024

Conversation

cujomalainey
Copy link
Member

Using unaligned mailboxes with UBSAN causes fuzzing failures with aligned data structures

@cujomalainey
Copy link
Member Author

Note the reason i picked 8 byte even though logically i can get away with 4 is that MSAN requires 64bit builds which I will be enabling soon.

src/platform/posix/posix.c Outdated Show resolved Hide resolved
src/platform/posix/posix.c Outdated Show resolved Hide resolved
Using unaligned mailboxes with UBSAN causes fuzzing failures with
aligned data structures

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
@lgirdwood lgirdwood merged commit 01c9ce9 into thesofproject:main Sep 10, 2024
46 of 47 checks passed
@cujomalainey cujomalainey deleted the ubsan-4 branch September 10, 2024 17:07
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.

5 participants