Coverity analysis defect 120845: Uninitialized scalar field

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • Repl 2021-10-18
    • 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/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.

              Assignee:
              Matthew Russotto
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: