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

Coverity analysis defect 120845: Uninitialized scalar field

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0-rc0
    • Component/s: None
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Repl 2021-10-18

      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/modules/enterprise/src/fcbis/backup_file_cloner.h:182: UNINIT_CTOR 120845 Class member declaration for "_fileOffset".
      /src/mongo/db/modules/enterprise/src/fcbis/backup_file_cloner.cpp:66: UNINIT_CTOR 120845 Non-static class member "_fileOffset" is not initialized in this constructor nor in any functions that it calls.
      /src/mongo/db/modules/enterprise/src/fcbis/backup_file_cloner.h:183: UNINIT_CTOR 120845 Class member declaration for "_sawEof".
      /src/mongo/db/modules/enterprise/src/fcbis/backup_file_cloner.cpp:66: UNINIT_CTOR 120845 Non-static class member "_sawEof" is not initialized in this constructor nor in any functions that it calls.

        Attachments

          Activity

            People

            Assignee:
            matthew.russotto Matthew Russotto
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: