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/s/shardsvr_check_metadata_consistency_command.cpp:251: NULL_RETURNS 155599 Assigning: "extraInfo" = "nullptr" return value from "extraInfo".
/src/mongo/db/s/shardsvr_check_metadata_consistency_command.cpp:252: NULL_RETURNS 155599 Attempting to access the managed object of an empty smart pointer "extraInfo".
- is caused by
-
SERVER-88404 checkMetadataConsistency should refresh if it finds no cached info for database
- Closed