-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: 8.0.0-rc0
-
Component/s: None
-
Cluster Scalability
-
Fully Compatible
-
ALL
-
v8.0, v7.3
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Wrapper object use after free
A use after free bug would occur if the internal pointer is used. An internal pointer of a wrapper object remains available after the object is freed
/src/mongo/db/s/resharding/resharding_recipient_service.cpp:1594: WRAPPER_ESCAPE 141172 Calling "get" which extracts wrapped state from temporary of type "mongo::ServiceContext::UniqueOperationContext".
/src/mongo/db/s/resharding/resharding_recipient_service.cpp:1594: WRAPPER_ESCAPE 141172 Assigning: "opCtx" = "mongo::ServiceContext::UniqueOperationContext(mongo::cc()->makeOperationContext()).get()".
/src/mongo/db/s/resharding/resharding_recipient_service.cpp:1594: WRAPPER_ESCAPE 141172 The internal representation of temporary of type "mongo::ServiceContext::UniqueOperationContext" is freed by its destructor.
/src/mongo/db/s/resharding/resharding_recipient_service.cpp:1596: WRAPPER_ESCAPE 141172 Using internal representation of destroyed object temporary of type "mongo::ServiceContext::UniqueOperationContext".
- is caused by
-
SERVER-77639 Add new statistics for same-key resharding and index build timing during resharding
-
- Closed
-