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

Coverity analysis defect 121945: Uninitialized scalar field

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution

      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/bson/util/bsoncolumnbuilder.h:179: UNINIT_CTOR 121945 Class member declaration for "_referenceSubObjType".
      /src/mongo/bson/util/bsoncolumnbuilder.cpp:513: UNINIT_CTOR 121945 Non-static class member "_referenceSubObjType" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            ian.boros@mongodb.com Ian Boros
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: