Pointer to local outside scope
Dereferencing the returned or out-of-scope stack pointer will access an invalid location on the stack after its scope or after the function returns. Pointer to a local stack variable returned or used outside scope
/data/mci/057f651ec8bcea642b07204a1bffe58a/bazel_cache/d40f160aeebadd4ff46fb783ccfecdaf/execroot/_main/src/mongo/db/query/write_ops/parsed_writes_common.h:136: RETURN_LOCAL 183902 Assigning: "params.projectionPolicies" = "mongo::ProjectionPolicies(mongo::ProjectionPolicies::findProjectionPolicies())" (address of temporary variable of type "mongo::ProjectionPolicies").
/data/mci/057f651ec8bcea642b07204a1bffe58a/bazel_cache/d40f160aeebadd4ff46fb783ccfecdaf/execroot/_main/src/mongo/db/query/write_ops/parsed_writes_common.h:136: RETURN_LOCAL 183902 Temporary variable of type "mongo::ProjectionPolicies" goes out of scope.
/data/mci/057f651ec8bcea642b07204a1bffe58a/bazel_cache/d40f160aeebadd4ff46fb783ccfecdaf/execroot/_main/src/mongo/db/query/write_ops/parsed_writes_common.h:141: RETURN_LOCAL 183902 Address of local variable "params".