Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
Description
Value returned from a function is not checked for errors before being used
Defect 73579 (STATIC_C)
Checker CHECKED_RETURN (subcategory none)
File: /src/mongo/s/strategy.cpp
Function mongo::Strategy::clientCommandOp(mongo::OperationContext *, mongo::Request &)
/src/mongo/s/strategy.cpp, line: 388
Calling "forceRemoteCheckShardVersionCB" without checking return value (as is done elsewhere 1 out of 2 times).
versionManager.forceRemoteCheckShardVersionCB(txn, staleNS);
|