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

Coverity analysis defect 115579: Uninitialized scalar field

    • Fully Compatible
    • ALL

      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/modules/enterprise/src/fle/query_analysis/expression_schema_walker.cpp:694: UNINIT_CTOR 115579 Class member declaration for "numChildrenVisited".
      /src/mongo/db/modules/enterprise/src/fle/query_analysis/expression_schema_walker.cpp:539: UNINIT_CTOR 115579 Non-static class member "numChildrenVisited" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            george.wangensteen@mongodb.com George Wangensteen
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: