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

Coverity analysis defect 122059: Uninitialized scalar field

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • ALL
    • QO 2022-05-02

      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 122059 Class member declaration for "_rewroteLastExpression".
      /src/mongo/db/query/fle/server_rewrite.h:130: UNINIT_CTOR 122059 Non-static class member "_rewroteLastExpression" is not initialized in this constructor nor in any functions that it calls.

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

              Created:
              Updated:
              Resolved: