Coverity analysis defect 121076: Uninitialized scalar field

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • Server Serverless 2021-11-15
    • None
    • 3
    • None
    • 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/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
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: