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

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: