parse_method_pattern only scans 254 chars

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 10
    • Affects Version/s: 9, 10
    • Component/s: hotspot
    • b34

      char sig[1024] = {0}
      ...
      if (1 == sscanf(line, "%254[[);/" RANGEBASE "]%n", sig+1, &bytes_read)) {

      I think the sscanf should be %1023 rather than %254

            Assignee:
            Nils Eliasson (Inactive)
            Reporter:
            Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: