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

Coverity analysis defect 120115: Uninitialized scalar field

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • Query Optimization 2021-06-14, Query Optimization 2021-06-28

    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/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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: