Coverity analysis defect 116994: Dereference after null check

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None

      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
      /src/tiered/tiered_cursor.c:144: FORWARD_NULL 116994 Comparing "curtiered->cursors" to null implies that "curtiered->cursors" might be null.
      /src/tiered/tiered_cursor.c:145: FORWARD_NULL 116994 Although "__curtiered_open_cursors" does overwrite "curtiered->cursors" on some paths, it also contains at least one feasible path which does not overwrite it.

            Assignee:
            Keith Smith
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: