|
Value returned from a function is not checked for errors before being used
Defect 72712 (STATIC_C)
Checker CHECKED_RETURN (subcategory none)
File: /src/mongo/db/commands/user_management_commands.cpp
Function mongo::<unnamed>::insertAuthzDocument(mongo::OperationContext *, const mongo::NamespaceString &, const mongo::BSONObj &, const mongo::BSONObj &)
/src/mongo/db/commands/user_management_commands.cpp, line: 277
Calling "runCommand" without checking return value (as is done elsewhere 75 out of 104 times).
client.runCommand("admin", gleBuilder.done(), res);
|
|