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

Coverity analysis defect 135481: Uninitialized scalar field

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Server Security
    • ALL
    • Security 2023-04-03

      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/crypto/fle_crypto_predicate.h:89: UNINIT_CTOR 135481 Class member declaration for "_contentionFactor".
      /src/mongo/crypto/fle_crypto_predicate.h:61: UNINIT_CTOR 135481 Non-static class member "_contentionFactor" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            shreyas.kalyan@mongodb.com Shreyas Kalyan
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: