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

Fix coverity bug: possible NULL dereference

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0, WT10.0.1, 4.4.7
    • Component/s: None
    • Labels:
      None

      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/local_store/local_store.c:407: FORWARD_NULL 119990 Assigning: "fs" = "NULL".
      /ext/storage_sources/local_store/local_store.c:470: FORWARD_NULL 119990 Dereferencing null pointer "fs".

        Attachments

          Activity

            People

            Assignee:
            donald.anderson Donald Anderson
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: