Coverity analysis defect 120718: Uninitialized scalar field

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: