ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0, 9.1.0-rc0
    • Affects Version/s: None
    • Component/s: Page deltas
    • None
    • Storage Engines - Transactions
    • 670.345
    • SE Transactions - 2026-10-23
    • 5

      Component: btree/bt_page.c

      Priority: High

      Problem

      The page-delta cleanup path can dereference s[0] when the merge-state pointer is NULL after an early initialization failure, causing an OOM-only crash and leak.

      Proposed work

      • Make the delta-leaf cleanup path NULL-safe on every partial-initialization path.
      • Ensure partially allocated merge state is released exactly once on OOM/error exits.
      • Add focused error-injection coverage for early initialization failure and cleanup.

            Assignee:
            Ravi Giri
            Reporter:
            Ravi Giri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: