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

Fix UBSAN reported access within misaligned addresses #13

Merged
merged 2 commits into from
Aug 7, 2024

Conversation

sergio-nsk
Copy link

@sergio-nsk sergio-nsk commented Aug 7, 2024

This can be an issue on ARM, it can cause a hang of CrashReportTest.MiniDump test on macOS.

@sergio-nsk sergio-nsk added the bug Something isn't working label Aug 7, 2024
@sergio-nsk sergio-nsk changed the title Fix UBSAN reported access to within misaligned addresses Fix UBSAN reported access within misaligned addresses Aug 7, 2024
This can be an issue on ARM, it can cause a hang of
CrashReportTest.MiniDump test on macOS.
It passed null pointer as a second argument to std::memcpy() when
crash_exception_info was empty. This exhibited the undefined behavior.
@sergio-nsk sergio-nsk merged commit fcf99a2 into dev Aug 7, 2024
0 of 3 checks passed
@sergio-nsk sergio-nsk deleted the sergey/dev/ubsan/1 branch August 7, 2024 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants