Coverity analysis defect 114070: Explicit null dereferenced

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • WT10.0.0, 4.4.0-rc0, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines 2020-03-23
    • 5

      Dereference of an explicit null value

      Defect 114070 (STATIC_C)
      Checker FORWARD_NULL (subcategory deref_constant_null)
      File: /src/btree/bt_handle.c
      Function __btree_tree_open_empty
      /src/btree/bt_handle.c, line: 649
      Assigning: "ref" = "NULL".

              ref = NULL;
      

      /src/btree/bt_handle.c, line: 712
      Dereferencing null pointer "ref".

              if (ref->page != NULL)
      

            Assignee:
            Ravi Giri
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: