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

Coverity analysis defect 117956: Uninitialized scalar field

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • ALL
    • Query Execution 2021-04-05

      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.

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

              Created:
              Updated:
              Resolved: