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

Uninitialized memory being written during checkpoints

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • WT3.2.1, 4.3.1, 4.2.0-rc3
    • None
    • None
    • 3
    • Storage Engines 2019-07-01
    • v4.2

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: