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

Coverity analysis defect 120188: Uninitialized scalar field

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Query Execution
    • ALL

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

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: