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

Coverity analysis defect 112490: Uninitialized scalar field

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Security, Storage
    • Fully Compatible
    • ALL
    • Security 2020-10-05

    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/modules/enterprise/src/encryptdb/keystore.cpp:73: UNINIT_CTOR 112490 Class member declaration for "rolloverId".
      /src/mongo/db/modules/enterprise/src/encryptdb/keystore.cpp:62: UNINIT_CTOR 112490 Non-static class member "rolloverId" is not initialized in this constructor nor in any functions that it calls.

      Attachments

        Activity

          People

            sara.golemon@mongodb.com Sara Golemon
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: