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

Fix coverity uninitialized pointer field

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Uninitialized pointer field

      The pointer field will point to an arbitrary memory location, any attempt to write may cause corruption. A pointer field is not initialized in the constructor
      /test/cppsuite/test_harness/workload/database_operation.h:168: UNINIT_CTOR 120179 The compiler-generated constructor for this class does not initialize "random_cursor".
      /test/cppsuite/test_harness/workload/database_operation.h:169: UNINIT_CTOR 120179 The compiler-generated constructor for this class does not initialize "update_cursor".

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: