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

Coverity analysis defect 134929: Uninitialized pointer field

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Query Execution
    • Fully Compatible
    • ALL
    • QE 2023-02-20

      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/ix_scan.h:156: UNINIT_CTOR 134929 Class member declaration for "_entry".
      /src/mongo/db/exec/sbe/stages/ix_scan.cpp:65: UNINIT_CTOR 134929 Non-static class member "_entry" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            projjal.chanda@mongodb.com Projjal Chanda
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: