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

[Bug]: mongoc version not checked correctly #3086

Closed
mitmitmitm opened this issue Mar 27, 2024 · 1 comment
Closed

[Bug]: mongoc version not checked correctly #3086

mitmitmitm opened this issue Mar 27, 2024 · 1 comment
Labels
Housekeeping:ToClose Issues reviewed and closed. Old requests, issues which are not bug, feature or documentation request type:bug Open5GS bug

Comments

@mitmitmitm
Copy link
Contributor

Open5GS Release, Revision, or Tag

main

Steps to reproduce

Open5GS checks mongoc version with

#if MONGOC_MAJOR_VERSION >= 1 && MONGOC_MINOR_VERSION >= 9

which can unexpectedly return false in case of mongoc versions such as 2.3.4.

I suggest using #if MONGOC_CHECK_VERSION(1, 9, 0, 0) instead.

Logs

No response

Expected behaviour

a

Observed Behaviour

b

eNodeB/gNodeB

No response

UE Models and versions

No response

@mitmitmitm mitmitmitm added the triage Triage label for new issues and feature requests label Mar 27, 2024
@acetcom acetcom added type:bug Open5GS bug and removed triage Triage label for new issues and feature requests labels Mar 31, 2024
acetcom added a commit that referenced this issue Mar 31, 2024
checks mongoc version with

which can unexpectedly return false in case of mongoc versions such as 2.3.4.

So, I've fixed it as below.
acetcom added a commit that referenced this issue Mar 31, 2024
checks mongoc version with

which can unexpectedly return false in case of mongoc versions such as 2.3.4.

So, I've fixed it as below.
@acetcom acetcom added the Housekeeping:ToClose Issues reviewed and closed. Old requests, issues which are not bug, feature or documentation request label Mar 31, 2024
@mitmitmitm
Copy link
Contributor Author

Fixed with #3096, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Housekeeping:ToClose Issues reviewed and closed. Old requests, issues which are not bug, feature or documentation request type:bug Open5GS bug
Projects
None yet
Development

No branches or pull requests

2 participants