|
Dereference null return value
If the function actually returns a null value, a null pointer dereference will occur. Return value of function which returns null is dereferenced without checking
/src/mongo/db/catalog/collection_catalog.cpp:800: NULL_RETURNS 134901 Assigning: "latestCollection" = "nullptr" return value from "lookupCollectionByNamespaceForRead".
/src/mongo/db/catalog/collection_catalog.cpp:804: NULL_RETURNS 134901 Attempting to access the managed object of an empty smart pointer "latestCollection".
|