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

Coverity analysis defect 134411: Uninitialized scalar field

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Query Execution
    • ALL
    • QE 2023-02-06

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: