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

Coverity analysis defect 120435: Uninitialized scalar field

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • ALL
    • QO 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_densify.h:326: UNINIT_CTOR 120435 Class member declaration for "_densifyType".
      /src/mongo/db/pipeline/document_source_densify.h:158: UNINIT_CTOR 120435 Non-static class member "_densifyType" is not initialized in this constructor nor in any functions that it calls.

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

              Created:
              Updated:
              Resolved: