|
Value returned from a function is not checked for errors before being used
Defect 101783 (STATIC_C)
Checker CHECKED_RETURN (subcategory none)
File: /src/mongo/db/repl/sync_tail.cpp
Function mongo::repl::multiInitialSyncApply_noAbort(mongo::OperationContext *, std::vector<const mongo::repl::OplogEntry *, std::allocator<const mongo::repl::OplogEntry *>> *, mongo::repl::SyncTail *, mongo::AtomicWord<unsigned int> *)
/src/mongo/db/repl/sync_tail.cpp, line: 1192
Calling "fetchAndInsertMissingDocument" without checking return value (as is done elsewhere 2 out of 4 times).
st->fetchAndInsertMissingDocument(opCtx, entry.raw);
|
|