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

Improve MessageFormat readObject checks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 7, 8, 11, 17, 21, 23
    • core-libs
    • None
    • b22
    • generic
    • generic

        During the de-serialization of MessageFormat, an offset greater than the pattern length should not be allowed. Using said format can later throw a SIOOBE down the line. It seems that the existing check in readObject is off by 1.

              jlu Justin Lu
              jlu Justin Lu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: