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

Coverity analysis defect 122081: Uninitialized scalar field

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.0.0-rc5, 6.1.0-rc0
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • QO 2022-04-18, QO 2022-05-02

    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/query/query_solution.h:482: UNINIT_CTOR 122081 Class member declaration for "hasCompatibleCollation".
      /src/mongo/db/query/query_solution.cpp:308: UNINIT_CTOR 122081 Non-static class member "hasCompatibleCollation" is not initialized in this constructor nor in any functions that it calls.

      Attachments

        Issue Links

          Activity

            People

              joel.redman@mongodb.com Joel Redman (Inactive)
              xgen-internal-coverity Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: