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

Coverity analysis defect 120194: Uninitialized pointer field

    • Fully Compatible
    • ALL
    • v5.0
    • Sharding 2021-07-12
    • 1

      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:
            matt.walak@mongodb.com Matthew Walak (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: