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

Coverity analysis defect 167012: Uninitialized scalar field

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Code
    • Query Execution
    • ALL
    • 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:
            Unassigned Unassigned
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None