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

Coverity analysis defect 134093: Dereference after null check

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 3
    • 2023-05-02 StorEng Bug Bash

      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/btree/bt_cursor.c:319: FORWARD_NULL 134093 Comparing "cbt->tmp" to null implies that "cbt->tmp" might be null.

            Assignee:
            luke.pearson@mongodb.com Luke Pearson
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: