Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-6708

Set boundary for array size while parsing recording

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.0.0
    • Component/s: Mission Control Core
    • Labels:
      None

      Backports

        Description

        If a recording gets written incorrectly we might end up with a situation where the parser attempts to allocate a massive Object[], possibly causing a OoM. This could be alleviated by checking whether or not the size of an allocation is larger than the chunk size, and if so aborting the parsing process.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                hdafgard Henrik Dafgård
                Reporter:
                hdafgard Henrik Dafgård
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: