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

HeapProfiler::_alloc() reads atomic sampleIntervalBytes multiple times

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Fully Compatible
    • ALL
    • Programmability 2025-04-28
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      The multiple reads can cause a crash, as the early check that sampleIntervalBytes is nonzero doesn't protect the later reads.

            Assignee:
            ronald.steinke@mongodb.com Ronald Steinke
            Reporter:
            ronald.steinke@mongodb.com Ronald Steinke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: