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

Coverity analysis defect 114887: Uninitialized scalar field

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      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/accumulator_js_reduce.h:143: UNINIT_CTOR 114887 Class member declaration for "_pendingCallsMerging".
      /src/mongo/db/pipeline/accumulator_js_reduce.h:121: UNINIT_CTOR 114887 Non-static class member "_pendingCallsMerging" is not initialized in this constructor nor in any functions that it calls.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              george.wangensteen George Wangensteen
              Reporter:
              xgen-internal-coverity Coverity Collector User
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: