Pointer is checked against null but then dereferenced anyway
Defect 101902 (STATIC_C)
Checker FORWARD_NULL (subcategory none)
File: /src/mongo/db/db.cpp
Function mongo::<unnamed>::shutdownTask()
/src/mongo/db/db.cpp, line: 985
Comparing "opCtx" to null implies that "opCtx" might be null.
if (opCtx) {
- is related to
-
SERVER-30424 Coverity analysis defect 101903: Dereference before null check
- Closed