Coverity analysis defect 121104: Dereference after null check

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • WT10.0.1, 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage - Ra 2021-11-29
    • 2

      Dereference after null check

      Either the check against null is unnecessary, or there may be a null pointer dereference. Pointer is checked against null but then dereferenced anyway
      /test/format/snap.c:694: FORWARD_NULL 121104 Comparing "session" to null implies that "session" might be null.
      /test/format/snap.c:695: FORWARD_NULL 121104 Dereferencing null pointer "session".

              Assignee:
              Keith Bostic (Inactive)
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: