Remove unowned RecordStore reference in WT RandomCursor class

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: