Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-78206

Ignore distributing unaccounted bytes if there are no markers

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ALL

    Description

      Truncate marker initialisation can act on a collection with invalid metrics (records and dataSize > 0) as the collection is empty.

      In that case initialisation returns no markers and tries to distribute the leftover metrics across the markers by blindly taking the first one. As there are no markers, this can cause an invalid memory access.

      Attachments

        Activity

          People

            haley.connelly@mongodb.com Haley Connelly
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: