Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-34317

Coverity analysis defect 103443: Explicit null dereferenced

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.4
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Repl 2018-04-23

      Description

      Dereference of an explicit null value

      Defect 103443 (STATIC_C)
      Checker FORWARD_NULL (subcategory deref_constant_null)
      File: /src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp
      Function mongo::WiredTigerKVEngine::WiredTigerKVEngine(const std::_cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> &, const std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> &, mongo::ClockSource *, const std::_cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> &, unsigned long, bool, bool, bool, bool)
      /src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp, line: 436
      Dereferencing null pointer "this->_conn".

                  invariantWTOK(_conn->query_timestamp(_conn, buf, "get=recovery"));

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: