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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 15
    • Affects Version/s: 15
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: