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

parse_method_pattern only scans 254 chars

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9, 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b34

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            neliasso Nils Eliasson
            Reporter:
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: