Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-11876

Coverity analysis defect 138354: Uninitialized scalar field

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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
      /test/model/src/include/model/kv_update.h:333: UNINIT_CTOR 138354 Class member declaration for "_durable_timestamp".
      /test/model/src/include/model/kv_update.h:129: UNINIT_CTOR 138354 Non-static class member "_durable_timestamp" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            peter.macko@mongodb.com Peter Macko
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: