Use ByteArrayInputStream.buf directly when parameter of transferTo() is trusted

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 22
    • Affects Version/s: 11, 17, 21, 22
    • Component/s: core-libs
    • b27
    • generic
    • generic
    • Verified

      The internal array of bytes in ByteArrayInputStream should be passed to the OutputStream parameter of ByteArrayInputStream.transferTo(OutputStream) only if the latter is in the package java.io.

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

              Created:
              Updated:
              Resolved: