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

Coverity analysis defect 116160: Uninitialized scalar field

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.7.0
    • Replication
    • Fully Compatible
    • ALL
    • Repl 2020-09-07
    • 0

    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/repl/tenant_collection_cloner.h:221: UNINIT_CTOR 116160 Class member declaration for "_collectionClonerBatchSize".
      /src/mongo/db/repl/tenant_collection_cloner.cpp:108: UNINIT_CTOR 116160 Non-static class member "_collectionClonerBatchSize" is not initialized in this constructor nor in any functions that it calls.

      Attachments

        Activity

          People

            vesselina.ratcheva@mongodb.com Vesselina Ratcheva
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: