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

Coverity analysis defect 123600: Dereference after null check

    XMLWordPrintable

Details

    • 1
    • StorEng - Defined Pipeline

    Description

      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
      /ext/storage_sources/dir_store/dir_store.c:623: FORWARD_NULL 123600 Comparing "tmp_path" to null implies that "tmp_path" might be null.
      /ext/storage_sources/dir_store/dir_store.c:680: FORWARD_NULL 123600 Passing null pointer "tmp_path" to "unlink", which dereferences it.

      Attachments

        Activity

          People

            backlog-server-storage-engines Backlog - Storage Engines Team
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: