-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Querying
-
Query Execution
Value returned from a function is not checked for errors before being used
Defect 73041 (STATIC_C)
Checker CHECKED_RETURN (subcategory none)
File: /src/mongo/db/exec/idhack.cpp
Function mongo::IDHackStage::doRestoreState()
/src/mongo/db/exec/idhack.cpp, line: 209
Calling "restore" without checking return value (as is done elsewhere 7 out of 13 times).
_recordCursor->restore();
- duplicates
-
SERVER-50838 Coverity analysis defect 115741: Unchecked return value
- Closed
- is duplicated by
-
SERVER-20049 Coverity analysis defect 73042: Unchecked return value
- Closed
- is related to
-
SERVER-23097 Segfault on drop of source collection during MapReduce
- Closed