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

Coverity analysis defect 121363: Uninitialized pointer field

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • Execution Team 2022-02-21

      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:
            daniel.gomezferro@mongodb.com Daniel Gomez Ferro
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: