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

Coverity analysis defect 120725: Uninitialized scalar field

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • ALL
    • QE 2021-10-04, QE 2021-10-18, QE 2021-11-01, QE 2021-11-15, QE 2021-11-29

      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/exec/bucket_unpacker.h:149: UNINIT_CTOR 120725 The compiler-generated constructor for this class does not initialize "_unpackerBehavior".
      /src/mongo/db/exec/bucket_unpacker.h:156: UNINIT_CTOR 120725 The compiler-generated constructor for this class does not initialize "_includeTimeField".
      /src/mongo/db/exec/bucket_unpacker.h:159: UNINIT_CTOR 120725 The compiler-generated constructor for this class does not initialize "_includeMetaField".

            Assignee:
            eric.cox@mongodb.com Eric Cox (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: