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

Coverity analysis defect 122085: Dereference after null check

    • 1
    • Storage - Ra 2022-05-16

      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/include/serial_inline.h:232: FORWARD_NULL 122085 Comparing "upd" to null implies that "upd" might be null.
      /src/include/serial_inline.h:241: FORWARD_NULL 122085 Dereferencing null pointer "upd".

            Assignee:
            will.korteland@mongodb.com Will Korteland
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: