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

small error in 6948909 fix

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 7
    • Fix Version/s: 7
    • Component/s: security-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b97
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        There is a small error in code changes for 6948909:

             1436 + if (i < len && bs[i+1] == '\n') i++;

        Obviously, "i < len" cannot guarantee the existence of bs[i+1], it should be "i < len - 1".

        This is not a serious bug because we've never supported "\r" as a line separator in manifest although it's specified as a newline in the doc.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                weijun Weijun Wang
                Reporter:
                weijun Weijun Wang
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: