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 null pointer argument #4602

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

dipinhora
Copy link
Contributor

ubsan doesn't like it when a null pointer is passed to memcpy. this commit fixes things to make ubsan happy.

Makes ubsan runtime errors such as the following go away:

runtime error: null pointer passed as argument 2, which is declared to never be null

ubsan doesn't like it when a null pointer is passed to memcpy. this
commit fixes things to make ubsan happy.

Makes ubsan runtime errors such as the following go away:

`runtime error: null pointer passed as argument 2, which is declared to never be null`
@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Feb 6, 2025
@SeanTAllen SeanTAllen changed the title ubsan: fix null pointer argument Fix null pointer argument Feb 6, 2025
@SeanTAllen SeanTAllen merged commit 0bbf613 into ponylang:main Feb 6, 2025
25 checks passed
@ponylang-main ponylang-main removed the discuss during sync Should be discussed during an upcoming sync label Feb 6, 2025
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.

3 participants