-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Replication
-
ALL
-
Repl 2025-01-20
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
/data/bazel_cache/1de52aaeb35278243ca29a4785ce7969/execroot/_main_/src/mongo/db/repl/replication_coordinator_test_fixture.cpp:180: WRAPPER_ESCAPE 164215 Calling "get" which extracts wrapped state from local "externalState".
/data/bazel_cache/1de52aaeb35278243ca29a4785ce7969/execroot/_main_/src/mongo/db/repl/replication_coordinator_test_fixture.cpp:180: WRAPPER_ESCAPE 164215 The internal representation of local "externalState" escapes into "this->_externalState", but is destroyed when it exits scope.