Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-6641

[classlib][luni] FloatParser returns wrong value and uses 1GB memory and 100% cpu

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0M14
    • 5.0M16
    • Classlib
    • None
    • all
    • Patch Available

    Description

      Float.valueOf("320.0E+2147483647") will return 32.0 and Float.valueOf("-1.4E-2147483314") will use 1GB memory, 100% cpu and hang. RI will return infinity and -0.0

      Attachments

        1. HARMONY-6641-v2.diff
          7 kB
          Shi Jun Zhang
        2. HARMONY-6641.diff
          7 kB
          Shi Jun Zhang

        Activity

          People

            hindessm Mark Hindess
            zhangshj Shi Jun Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: