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

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

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

      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@mongodb.com Gregory Wlodarek
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: