United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6954621 small error in 6948909 fix
6954621 : small error in 6948909 fix

Details
Type:
Bug
Submit Date:
2010-05-21
Status:
Resolved
Updated Date:
2010-11-04
Project Name:
JDK
Resolved Date:
2010-06-09
Component:
security-libs
OS:
generic
Sub-Component:
java.security
CPU:
generic
Priority:
P5
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
7

Related Reports
Backport:
Relates:
Relates:

Sub Tasks

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.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/tl/jdk/rev/c36617d0dae7
                                     
2010-05-24



Hardware and Software, Engineered to Work Together