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: NULL check received MongoDB connections #3450

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

vladpaiu
Copy link
Member

Summary
MongoDB module is crashing if a NULL connection is passed to it

Solution
Check for NULL before trying to use a MongoDB connection

Compatibility
Backwards compatible.

@vladpaiu vladpaiu added the bug label Aug 22, 2024
@vladpaiu vladpaiu added this to the 3.6-dev milestone Aug 22, 2024
@vladpaiu vladpaiu changed the title fix: NULL check received connections fix: NULL check received MongoDB connections Aug 22, 2024
@liviuchircu liviuchircu self-assigned this Aug 28, 2024
@liviuchircu liviuchircu merged commit bef2cc7 into OpenSIPS:master Aug 28, 2024
51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants