-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Trivial - P5
-
Affects Version/s: legacy-0.0-26compat-2.6.0-rc1
-
Component/s: Implementation
-
Environment:Windows 8.1
DBClientConnection::auth and sub-calls should ensure that the authentication parameters BSON does not contain invalid entries. For example, the password entry below is incorrect, but the client will not report any error and just proceed as if no password was specified.
BSONObjBuilder b; b << "mechanism" << argv[2] << "user" << argv[3] << "password" << argv[4] << "clientLogLevel" << 1;