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

Remove unowned RecordStore reference in WT RandomCursor class

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0, 7.0.2, 7.1.0-rc3
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.1, v7.0
    • Execution EMEA Team 2023-09-18
    • 115

      As part of the RandomCursor class in WT we hold an unowned reference to the RecordStore that created this. If at any point the reference becomes invalid we would be accessing invalid memory data.

      As the standard cursor already protects against this, we should expand it to the random cursor as well.

            Assignee:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: