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

SBE accesses unowned BSON across yields

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Querying
    • None
    • Fully Compatible
    • ALL
    • Query 2020-11-30
    • 77

    Description

      In this line SBE is stashing away unowned BSON into a candidate plan's result buffer. Later on, this result buffer gets unspooled. By that time the plan may have yielded and the BSONObj may point to garbage.

      Attachments

        Activity

          People

            ian.boros@mongodb.com Ian Boros
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: