BSONElement's buffer in IndexEntryInfo used for validation is unowned and unsafe to access after cursor advances

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2020-10-19
    • 89
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The second phase of validation saves a BSONElement that uses a shared buffer which is unsafe to use once the underlying memory is free after the cursor is repositioned.

            Assignee:
            Gregory Wlodarek
            Reporter:
            Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: