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

Coverity analysis defect 120718: Uninitialized scalar field

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • QE 2021-10-04

    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_group.h:298: UNINIT_CTOR 120718 Class member declaration for "_sbeCompatible".
      /src/mongo/db/pipeline/document_source_group.cpp:409: UNINIT_CTOR 120718 Non-static class member "_sbeCompatible" is not initialized in this constructor nor in any functions that it calls.

      Attachments

        Activity

          People

            steve.la@mongodb.com Steve La (Inactive)
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: