Coverity analysis defect 120115: Uninitialized scalar field

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • Query Optimization 2021-06-14, Query Optimization 2021-06-28
    • None
    • 3
    • 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
      /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 (Inactive)
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: