Coverity analysis defect 121043: Uninitialized pointer field

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • Replication 2021-12-27
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Uninitialized pointer field

      The pointer field will point to an arbitrary memory location, any attempt to write may cause corruption. A pointer field is not initialized in the constructor
      /src/mongo/db/repl/replication_recovery_test.cpp:231: UNINIT_CTOR 121043 The compiler-generated constructor for this class does not initialize "_storageInterface".
      /src/mongo/db/repl/replication_recovery_test.cpp:233: UNINIT_CTOR 121043 The compiler-generated constructor for this class does not initialize "_stashedEnableMajorityReadConcern".

            Assignee:
            Lingzhi Deng
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: