- 
    Type:
Bug
 - 
    Resolution: Fixed
 - 
    Priority:
Major - P3
 - 
    Affects Version/s: None
 - 
    Component/s: Index Maintenance
 
- 
        Fully Compatible
 - 
        ALL
 - 
        v4.4
 - 
        Execution Team 2020-08-24
 - 
        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/index_builds_manager.cpp:135: FORWARD_NULL 114771 Comparing "coll" to null implies that "coll" might be null.
/src/mongo/db/catalog/index_builds_manager.cpp:146: FORWARD_NULL 114771 Passing null pointer "coll" to "numRecords", which dereferences it. (The dereference happens because this is a virtual function call.)
- is related to
 - 
                    
SERVER-39515 Remove the KVDatabaseCatalogEntry, KVDatabaseCatalogEntryBase and DatabaseCatalogEntry classes
-         
 - Closed
 
 -         
 - 
                    
SERVER-40717 Remove CollectionCatalogEntry and KVCollectionCatalogEntry
-         
 - Closed
 
 -