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

Coverity analysis defect 122052: Uninitialized scalar field

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • 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/fle/server_rewrite.h:210: UNINIT_CTOR 122052 Class member declaration for "_rewroteLastExpression".
      /src/mongo/db/query/fle/server_rewrite.h:190: UNINIT_CTOR 122052 Non-static class member "_rewroteLastExpression" is not initialized in this constructor nor in any functions that it calls.

      Attachments

        Activity

          People

            hana.pearlman@mongodb.com Hana Pearlman
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: