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

Coverity analysis defect 121363: Uninitialized pointer field

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 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/query/query_planner_params.h:149: UNINIT_CTOR 121363 Class member declaration for "clusteredCollectionCollator".
      /src/mongo/db/query/query_planner_params.h:46: UNINIT_CTOR 121363 Non-static class member "clusteredCollectionCollator" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            kyle.suarez@mongodb.com Kyle Suarez
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: