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

Parsing repetition count in regex does not detect numeric overflow

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 13
    • None
    • core-libs
    • None

    Backports

      Description

        java java.util.regex.PrintPattern '.{4294967297}'
           Pattern: .{4294967297}
             0: <Start>
             1: <Curly GREEDY {1, 1}>
             2: <Single "Dot">
                 </Curly>
             3: <END>

        Attachments

          Issue Links

            Activity

              People

                igerasim Ivan Gerasimov
                igerasim Ivan Gerasimov
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: