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

Coverity analysis defect 115076: 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/document_source_list_sessions.h:122: UNINIT_CTOR 115076 Class member declaration for "_allUsers".
      /src/mongo/db/pipeline/document_source_list_sessions.h:54: UNINIT_CTOR 115076 Non-static class member "_allUsers" is not initialized in this constructor nor in any functions that it calls.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              samuel.mercier Sam Mercier
              Reporter:
              xgen-internal-coverity Coverity Collector User
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: