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

Uninitialized memory being written during checkpoints

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • WT3.2.1, 4.3.1, 4.2.0-rc3
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 3
    • Storage Engines 2019-07-01
    • v4.2

      Valgrind flagged some uninitialized memory being written during a checkpoint.

      When setting up a checkpoint, we leave room in the buffer for a packed uint64_t to be inserted later, and the packed uint64_t doesn't necessarily require all the space we allocate for it, and the remaining bytes were left uninitialized.

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: