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

parse_method_pattern only scans 254 chars

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 9, 10
    • 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

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

              Created:
              Updated:
              Resolved: