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

Fix edge case in bulkWrite errorsOnly reply processing

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Repl 2024-01-22
    • 148

    Description

      In the existing errors only handling for bulkWrite we missed the case where you have an ordered:false write with errorsOnly:true and you get successful results after the last error message. This led to invalid memory access. To properly handle this we need to make sure that check for potential out of bounds access and avoid it.

      Attachments

        Activity

          People

            sean.zimmerman@mongodb.com Sean Zimmerman
            sean.zimmerman@mongodb.com Sean Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: