Fix coverity bug: possible NULL dereference

XMLWordPrintableJSON

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

      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".

              Assignee:
              Donald Anderson
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: