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

Writer/StringWriter.write methods do not specify index out bounds

    Details

    • Subcomponent:
    • Resolved In Build:
      b120

      Description

      Writer and its sub-classes (StringWriter in particular) needs to be audited to ensure that write and other methods that take an index specify the behavior for when the index is validated

      Writer.write(char[] cbuf, int off, int len) and StringWriter.write(String str, int off, int len) are two examples where the methods can fail if the offset or length leads to an out of bounds condition.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bpb Brian Burkhalter
                Reporter:
                alanb Alan Bateman
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: