Coverity analysis defect 167012: Uninitialized scalar field

XMLWordPrintableJSON

    • Query Execution
    • Fully Compatible
    • ALL
    • QE 2025-04-14
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Uninitialized scalar field

      The field will contain an arbitrary value left over from earlier computations. A scalar field is not initialized by the constructor
      /data/bazel_cache/1de52aaeb35278243ca29a4785ce7969/execroot/_main/src/mongo/db/exec/sbe/stages/scan.h:334: UNINIT_CTOR 167012 Class member declaration for "_tolerateKeyNotFound".
      /data/bazel_cache/1de52aaeb35278243ca29a4785ce7969/execroot/_main/src/mongo/db/exec/sbe/stages/scan.cpp:124: UNINIT_CTOR 167012 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: