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 member access within null pointer of type 'pass_opt_t' #4601

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

dipinhora
Copy link
Contributor

ubsan doesn't like it when we read a member from a null pointer. this commit fixes it to make ubsan happy.

Makes ubsan runtime errors such as the following go away:

runtime error: member access within null pointer of type 'pass_opt_t'

ubsan doesn't like it when we read a member from a null pointer.
this commit fixes it to make ubsan happy.

Makes ubsan runtime errors such as the following go away:

`runtime error: member access within null pointer of type 'pass_opt_t'`
@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 member access within null pointer of type 'pass_opt_t' Fix member access within null pointer of type 'pass_opt_t' Feb 6, 2025
@SeanTAllen SeanTAllen merged commit 285e023 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