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

Coverity analysis defect 122386: Uninitialized pointer field

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • ALL
    • QE 2022-07-25, QE 2022-08-08

      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:184: UNINIT_CTOR 122386 Class member declaration for "_collator".
      /src/mongo/db/exec/sbe/stages/hash_lookup.cpp:61: UNINIT_CTOR 122386 Non-static class member "_collator" 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:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: