Coverity analysis defect 121945: Uninitialized scalar field

XMLWordPrintableJSON

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

      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
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: