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

Coverity analysis defect 168171: Dereference after null check

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: APIs
    • None
    • Storage Engines

      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/os_common/os_alloc.c:32: FORWARD_NULL 168171 Comparing "session" to null implies that "session" might be null.

            Assignee:
            Unassigned Unassigned
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: