-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
ALL
-
CAR Team 2024-07-08
-
1
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/s/catalog_cache.cpp:515: NULL_RETURNS 155596 Assigning: "dbRefreshInfo" = "nullptr" return value from "extraInfo".
/src/mongo/s/catalog_cache.cpp:517: NULL_RETURNS 155596 Attempting to access the managed object of an empty smart pointer "dbRefreshInfo".