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

Coverity analysis defect 115579: Uninitialized scalar field

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: