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: prevent crash on addThing/internalAddThing #1106

Merged
merged 2 commits into from
May 20, 2023
Merged

fix: prevent crash on addThing/internalAddThing #1106

merged 2 commits into from
May 20, 2023

Conversation

mehah
Copy link
Contributor

@mehah mehah commented May 19, 2023

Description

check if the variable thing is null, to avoid crashes.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • My code follows the style guidelines of this project

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@dudantas dudantas merged commit a6ee2a7 into opentibiabr:main May 20, 2023
enzerah pushed a commit to enzerah/canary that referenced this pull request May 21, 2023
Check if the variable thing is null, to avoid crashes.
enzerah pushed a commit to enzerah/canary that referenced this pull request May 21, 2023
Check if the variable thing is null, to avoid crashes.
@mehah mehah deleted the prevent_crash branch May 22, 2023 16:05
libergod referenced this pull request in libergod/canary_baiak May 31, 2023
luan pushed a commit that referenced this pull request Jul 11, 2023
Check if the variable thing is null, to avoid crashes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants