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

Coverity analysis defect 120391: Uninitialized scalar field

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.0.3, 4.4.9, 5.1.0-rc0
    • None
    • Fully Compatible
    • ALL
    • v5.0, v4.4

    Description

      Uninitialized scalar field

      The field will contain an arbitrary value left over from earlier computations. A scalar field is not initialized by the constructor
      /src/mongo/db/pipeline/document_source_unwind.cpp:92: UNINIT_CTOR 120391 Class member declaration for "_index".
      /src/mongo/db/pipeline/document_source_unwind.cpp:102: UNINIT_CTOR 120391 Non-static class member "_index" is not initialized in this constructor nor in any functions that it calls.

      Attachments

        Activity

          People

            ted.tuckman@mongodb.com Ted Tuckman
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: