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

Coverity analysis defect 134411: Uninitialized scalar field

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • ALL
    • QE 2023-02-06

      Uninitialized scalar field

      The field will contain an arbitrary value left over from earlier computations. A scalar field is not initialized by the constructor
      /src/mongo/db/exec/sbe/stages/column_scan.h:254: UNINIT_CTOR 134411 Class member declaration for "_rowId".
      /src/mongo/db/exec/sbe/stages/column_scan.cpp:64: UNINIT_CTOR 134411 Non-static class member "_rowId" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            steve.tarzia@mongodb.com Steve Tarzia
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: