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

Coverity analysis defect 101725: Uninitialized scalar variable

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Write Ops
    • Fully Compatible
    • ALL
    • Sharding 2017-07-31

    Description

      Use of an uninitialized variable

      Defect 101725 (STATIC_C)
      Checker UNINIT (subcategory none)
      File: /src/mongo/db/ops/write_ops_exec.cpp
      Function mongo::performSingleUpdateOp(mongo::OperationContext *, const mongo::NamespaceString &, const mongo::UpdateOp::SingleUpdate &)
      /src/mongo/db/ops/write_ops_exec.cpp, line: 563
      Declaring variable "result".

              SingleWriteResult result;

      Attachments

        Activity

          People

            randolph@mongodb.com Randolph Tan
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: