Coverity analysis defect 121363: Uninitialized pointer field

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • Execution Team 2022-02-21
    • None
    • 3
    • None
    • 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/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 Gomez Ferro
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: