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

Coverity analysis defect 121257: Uninitialized scalar field

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • Server Serverless 2022-01-24

      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_recipient_service.h:581: UNINIT_CTOR 121257 Class member declaration for "_backupCursorId".
      /src/mongo/db/repl/tenant_migration_recipient_service.cpp:385: UNINIT_CTOR 121257 Non-static class member "_backupCursorId" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            christopher.caplinger@mongodb.com Christopher Caplinger
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: