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

Coverity analysis defect 121076: Uninitialized scalar field

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • Server Serverless 2021-11-15

      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_migration_donor_service.h:337: UNINIT_CTOR 121076 Class member declaration for "_isAtleastFCV52AtStart".
      /src/mongo/db/repl/tenant_migration_donor_service.cpp:288: UNINIT_CTOR 121076 Non-static class member "_isAtleastFCV52AtStart" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            suganthi.mani@mongodb.com Suganthi Mani
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: