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

Remove unowned RecordStore reference in WT RandomCursor class

    XMLWordPrintableJSON

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: