Coverity analysis defect 134316: Uninitialized scalar field

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • ALL
    • Execution Team 2023-01-09, Execution Team 2023-01-23
    • 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:257: UNINIT_CTOR 134316 Class member declaration for "referenceSubObjType".
      /src/mongo/bson/util/bsoncolumnbuilder.cpp:291: UNINIT_CTOR 134316 Non-static class member "_is.referenceSubObjType" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            Henrik Edin
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: