Coverity analysis defect 174660: Uninitialized scalar field

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Query Execution
    • Query Execution
    • ALL
    • QE 2025-05-26
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 0

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

              Assignee:
              Jan Steemann
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: