Coverity analysis defect 135481: Uninitialized scalar field

XMLWordPrintableJSON

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

      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
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: