Coverity analysis defect 175773: Uninitialized pointer field

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • ALL
    • QE 2025-08-18
    • None
    • 3
    • TBD
    • 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
      /data/mci/20c67ff3d27bad330e12b569b00565a0/bazel_cache/1bc79c3474a85e2236e0c0bc2a63bda3/execroot/_main/src/mongo/db/exec/express/express_plan.h:862: UNINIT_CTOR 175773 Class member declaration for "_collection".
      /data/mci/20c67ff3d27bad330e12b569b00565a0/bazel_cache/1bc79c3474a85e2236e0c0bc2a63bda3/execroot/_main/src/mongo/db/exec/express/express_plan.h:714: UNINIT_CTOR 175773 Non-static class member "_collection" is not initialized in this constructor nor in any functions that it calls.

              Assignee:
              Colin Stolley
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: