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

CardTableBarrierSetAssembler::gen_write_ref_array_post_barrier() does not check for zero length on AARCH64

    XMLWordPrintable

Details

    • b14
    • aarch64
    • linux

    Backports

      Description

        If an arraycopy of length zero is performed on AArch64, one byte is dirtied regardless in the card table. The card being dirtied could in the worst case be out of bounds with the committed memory for the card table, and cause a crash.

        Attachments

          Issue Links

            Activity

              People

                dpochepk Dmitrij Pochepko
                eosterlund Erik Ă–sterlund
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: