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

Coverity analysis defect 117956: Uninitialized scalar field

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • ALL
    • Query Execution 2021-04-05

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

      Attachments

        Activity

          People

            david.storch@mongodb.com David Storch
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: