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

Coverity analysis bug: 113971 Dereference after null check

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.3 Desired
    • 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
              Reporter:
              haribabu.kommi Haribabu Kommi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: