Coverity analysis defect 167010: Uninitialized scalar field

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • ALL
    • QE 2025-08-18, QE 2025-09-01
    • None
    • 3
    • TBD
    • 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/mci/ffeffd362c6208e1ea9ceccf265123f1/bazel_cache/f7b955f591b9066b5e52376f04a7cfd5/execroot/_main_/src/mongo/db/exec/sbe/stages/scan.h:334: UNINIT_CTOR 167010 Class member declaration for "_tolerateKeyNotFound".
      /data/mci/ffeffd362c6208e1ea9ceccf265123f1/bazel_cache/f7b955f591b9066b5e52376f04a7cfd5/execroot/_main_/src/mongo/db/exec/sbe/stages/scan.cpp:142: UNINIT_CTOR 167010 Non-static class member "_tolerateKeyNotFound" is not initialized in this constructor nor in any functions that it calls.

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

              Created:
              Updated:
              Resolved: