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

[REDO] JDK-8245121 (bf) XBuffer.put(Xbuffer src) can give unexpected result when storage overlaps

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 15
    • 15
    • core-libs
    • None
    • b27
    • generic
    • generic

      The fix for JDK-8245121 overlooked the case where the src parameter is neither direct nor heap. The base address of src is therefore null and an access violation will occur. This can only happen at present if when 'this' is a non read-only CharBuffer and src is a StringCharBuffer.

            bpb Brian Burkhalter
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: