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

Coverity analysis bug: 113971 Dereference after null check

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT3.2.2, 4.3.3, 4.2.3
    • Component/s: None
    • Labels:
      None

      Description

      113971 Dereference after null check
      Either the check against null is unnecessary, or there may be a null pointer dereference.

      In __wt_rec_split: Pointer is checked against null but then dereferenced anyway (CWE-476)

      From the Coverity analysis, it is possible to dereference a NULL pointer. Need to find out whether code flow can enter in such a scenario where it can be a NULL pointer or not?

        Attachments

          Activity

            People

            Assignee:
            jeremy.tay Jeremy Tay (Inactive)
            Reporter:
            haribabu.kommi Haribabu Kommi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: