Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-66848

Internal transactions test command API use should use owned BSON

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Sharding NYC 2022-05-30

    Description

      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.

      Attachments

        Activity

          People

            jack.mulrow@mongodb.com Jack Mulrow
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: