Coverity analysis defect 120194: Uninitialized pointer field

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v5.0
    • Sharding 2021-07-12
    • 1
    • None
    • 3
    • 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/s/resharding/resharding_recipient_service_test.cpp:318: UNINIT_CTOR 120194 The compiler-generated constructor for this class does not initialize "_metrics".

            Assignee:
            Matthew Walak (Inactive)
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: