Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2230

multi-split error path uses the wrong page, would likely drop core

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.7.0
    • Affects Version/s: None
    • Component/s: None
    • None

      The split_multi_inmem_fail function calls wt_free_ref with ref->page as its page argument, which is used by wt_free_ref to check the page type and then free row-store keys instantiated in the WT_REF. That's an error, and we'd drop core because ref->page is freed by wt_free_ref before the page type is checked.

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: