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

Coverity analysis defect 121257: Uninitialized scalar field

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.3.0
    • None
    • None
    • Fully Compatible
    • ALL
    • Server Serverless 2022-01-24

    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_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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: