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

Coverity analysis defect 121920: Uninitialized pointer field

    • Fully Compatible
    • ALL
    • v6.0
    • QE 2022-04-04, QE 2022-04-18, QE 2022-05-02, QE 2022-05-16

      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/sbe/stages/hash_lookup.h:136: UNINIT_CTOR 121920 Class member declaration for "_inOuterMatchAccessor".
      /src/mongo/db/exec/sbe/stages/hash_lookup.cpp:58: UNINIT_CTOR 121920 Non-static class member "_inOuterMatchAccessor" is not initialized in this constructor nor in any functions that it calls.
      /src/mongo/db/exec/sbe/stages/hash_lookup.h:138: UNINIT_CTOR 121920 Class member declaration for "_inInnerMatchAccessor".
      /src/mongo/db/exec/sbe/stages/hash_lookup.cpp:58: UNINIT_CTOR 121920 Non-static class member "_inInnerMatchAccessor" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            eric.cox@mongodb.com Eric Cox (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: