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

Coverity analysis defect 171672: Uninitialized scalar field

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • ALL
    • QE 2025-03-31, QE 2025-04-14
    • None
    • 3
    • 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/matcher/matcher.h:419: UNINIT_CTOR 171672 Class member declaration for "_result".
      /data/bazel_cache/1de52aaeb35278243ca29a4785ce7969/execroot/_main_/src/mongo/db/exec/matcher/matcher.h:261: UNINIT_CTOR 171672 Non-static class member "_result" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            alberto.massari@mongodb.com Alberto Massari
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: