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

Coverity analysis defect 120115: Uninitialized scalar field

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • ALL
    • Query Optimization 2021-06-14, Query Optimization 2021-06-28

      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/pipeline/window_function/window_function_exec_removable_document.h:80: UNINIT_CTOR 120115 Class member declaration for "_lowerBound".
      /src/mongo/db/pipeline/window_function/window_function_exec_removable_document.cpp:70: UNINIT_CTOR 120115 Non-static class member "_lowerBound" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            ridhwaan.anayetullah@mongodb.com Ridhwaan Anayetullah (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: