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

createOplogEntryWithNStatementIds uses BSONObjBuilder::done() in a place where it should use BSONObjBuilder::obj()

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • 155

    Description

      As mentioned here, this method does not return an owned BSONObj.

       

      This issue was found by ASAN following the merge of https://jira.mongodb.org/browse/SERVER-81098.

      Attachments

        Activity

          People

            frederic.vitzikam@mongodb.com Frederic Vitzikam
            frederic.vitzikam@mongodb.com Frederic Vitzikam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: