-
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:358: NULL_RETURNS 155594 Assigning: "dbRefreshInfo" = "nullptr" return value from "extraInfo".
/src/mongo/s/catalog_cache.cpp:360: NULL_RETURNS 155594 Attempting to access the managed object of an empty smart pointer "dbRefreshInfo".