-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Storage Execution
-
Fully Compatible
-
ALL
-
Execution Team 2022-12-26
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Dereference after null check
Either the check against null is unnecessary, or there may be a null pointer dereference. Pointer is checked against null but then dereferenced anyway
/src/mongo/db/catalog/collection_catalog.cpp:788: FORWARD_NULL 134265 Calling "pendingCollection->operator bool()" implies that "pendingCollection" might be null-like.
/src/mongo/db/catalog/collection_catalog.cpp:805: FORWARD_NULL 134265 Attempting to access the managed object of an empty smart pointer "pendingCollection".