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

Avoid null pointer dereference #1078

Merged
merged 1 commit into from
Oct 22, 2023
Merged

Avoid null pointer dereference #1078

merged 1 commit into from
Oct 22, 2023

Conversation

luis-pereira
Copy link
Member

If w is nullptr we must not dereference it.
qFatal is a cleaner solution.

If w is nullptr we must not dereference it.
qFatal is a cleaner solution.
@yan12125 yan12125 merged commit 39c6a85 into master Oct 22, 2023
@yan12125 yan12125 deleted the assert branch October 22, 2023 17:36
@yan12125
Copy link
Member

That makes sense, thanks!

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