Description
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.