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

Coverity analysis defect 120718: Uninitialized scalar field

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • QE 2021-10-04

      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.

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

              Created:
              Updated:
              Resolved: