Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8144732

VM_HeapDumper hits assert with bad dump_len

XMLWordPrintable

    • svc
    • b110
    • Not verified

        heapDumper doesn't check the size of segment while dumping an array. So if (bytes written to segment + length of array) > max_juint it overflows u4 segment length field and crash later on assert in heapDumper.cpp:

        assert(dump_len >= 0 && dump_len <= max_juint) failed: bad dump length

              aeriksso Andreas Eriksson (Inactive)
              jprovino Joseph Provino (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: