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

[asan] reports heap-buffer-overflow in AOTCodeCache::copy_bytes

XMLWordPrintable

    • b26

      AOTCodeCache::copy_bytes() tries to optimize by copying byte buffer using HeapWords (64bits) by rounding up the size which may access memory after buffer.
      We should use memcpy() instead.

            kvn Vladimir Kozlov
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: