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

Fix NULL pointer dereference in __wt_panic_func()

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.1.0-rc0, WT11.0.1
    • None
    • None

    Description

      __wt_panic_func() should work if the caller passes in a NULL session handle. There are a pair of comments to this effect saying, "This function MUST handle a NULL WT_SESSION_IMPL handle." But the first line of the function is conn = S2C(session), causing it to segfault if given a NULL session handle.

      This problem manifested in WT-9643.

      Attachments

        Activity

          People

            keith.smith@mongodb.com Keith Smith
            keith.smith@mongodb.com Keith Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: