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 crash from optimized null pointer access #1162

Merged

Conversation

jmciver
Copy link
Contributor

@jmciver jmciver commented Jan 24, 2025

  • Resolves a null pointer dereference error observed in Clang v19.1.5 where the check is optimized away
  • Add a separate null pointer check for the pointer returned by llvm_type2alive in llvm2alive_::run()

- Resolves a null pointer dereference error observed in Clang v19.1.5 where the
  check is optimized away
- Add a separate null pointer check for the pointer returned by llvm_type2alive
  in llvm2alive_::run()
@nunoplopes nunoplopes merged commit 0dcc0ba into AliveToolkit:master Jan 24, 2025
16 checks passed
@jmciver jmciver deleted the development/jmciver/clang-segfault-fix branch January 24, 2025 21:36
jmciver added a commit to jmciver/alive2 that referenced this pull request Jan 25, 2025
jmciver added a commit to jmciver/alive2 that referenced this pull request Jan 26, 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.

2 participants