-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Fully Compatible
-
ALL
-
v6.0
-
Sharding NYC 2022-05-30
The internal transactions test command passes a shared pointer containing a vector of TestInternalTransactionsCommandInfo structs to its transaction API use which have unowned BSON that is owned by the test command itself. If the command is interrupted and exits before the API finishes, the API can crash when accessing the unowned BSON. Instead the command should pass owned BSON to the API.