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

Coverity analysis defect 120432: Uninitialized scalar field

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • ALL
    • Execution Team 2021-09-06

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

      Attachments

        Activity

          People

            henrik.edin@mongodb.com Henrik Edin
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: