Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
Description
A large function call parameter or exception catch statement is passed by value
Defect 77721 (STATIC_C)
Checker PASS_BY_VALUE (subcategory none)
File: /src/mongo/util/assert_util.h
Function mongo::uassertStatusOK<mongo::MongoURI>(mongo::StatusWith<T1>)
/src/mongo/util/assert_util.h, line: 245
Passing parameter sw of type "mongo::StatusWith<mongo::MongoURI>" (size 136 bytes) by value.
inline T uassertStatusOK(StatusWith<T> sw) {
|