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 passing null pointer to from_raw_parts in SourceRange::tokenize #58

Merged
merged 1 commit into from
Apr 27, 2024

Conversation

madsmtm
Copy link
Contributor

@madsmtm madsmtm commented Mar 15, 2024

Fixes #47.

@onkoe
Copy link

onkoe commented Apr 26, 2024

Would love to see this merged! The opencv crate is now failing to compile on +beta, so my typical development environment is affected.

@KyleMayes KyleMayes merged commit b025dfd into KyleMayes:master Apr 27, 2024
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.

clang::source::SourceRange::tokenize can construct a slice with a null pointer, which is UB
3 participants