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

Coverity analysis defect 115362: Uninitialized scalar field

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.8.0
    • None
    • Sharding
    • Fully Compatible
    • ALL
    • Sharding 2020-10-05

    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/db/s/migration_destination_manager.h:206: UNINIT_CTOR 115362 The compiler-generated constructor for this class does not initialize "_txnNumber".

      Attachments

        Activity

          People

            sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: