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

Coverity analysis bug: 113971 Dereference after null check

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.3.3, 4.2.3
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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?

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

              Created:
              Updated:
              Resolved: