When mongoc_uri_parse() ultimately defers to mongoc_uri_finalize_auth(), the latter function does not receive the error struct. If authSource happens to be set to something other than "$external", the function will return false without supplying a specific error message. This will result in mongoc_uri_new_with_error() returning NULL without filling the error struct.
- Assignee:
- Jeremy Mikola
- Reporter:
- Jeremy Mikola
- Votes:
-
0 Vote for this issue
- Watchers:
-
2 Start watching this issue
- Created:
- Updated:
- Resolved: