SBE accesses unowned BSON across yields

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • ALL
    • Query 2020-11-30
    • 77
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Ian Boros
            Reporter:
            Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: