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

Coverity analysis defect 155587: Uninitialized pointer field

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Service Arch
    • ALL

      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/exec/express/express_plan.h:1180: UNINIT_CTOR 155587 Class member declaration for "_stats".
      /src/mongo/db/exec/express/express_plan.h:1150: UNINIT_CTOR 155587 Non-static class member "_stats" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            blake.oler@mongodb.com Blake Oler
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: