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

Constructors for BufferedOutputStream, etc. can throw NegativeArraySizeException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.2.0
    • 1.2.0
    • core-libs
    • None
    • 1.2beta4
    • generic
    • generic
    • Not verified

      The current implementation of the constructors for BufferedOutputStream,
      BufferedInputStream, PushbackReader, PushbackInputStream and
      CharArrayWriter did not check for possible negative array sizes
      that will be passed in, in which case an undocumented
      NegativeArraySizeException will be thrown.

      See also bug 4015701.

            zlisunw Zhenghua Li (Inactive)
            zlisunw Zhenghua Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: