-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P1
-
Affects Version/s: 1.1
-
Component/s: security-libs
-
1.1.5
-
sparc
-
solaris_2.6
-
Verified
In sun.security.util:
DerOutputStream.java:
----------------------
public void putLength (int len) throws IOException{
...
} else if (len < (1 << 16)) {
write ((byte)0x083);
write ((byte) (len >> 16));
write ((byte) (len >> 8));
write ((byte) len);
...
}
1<<16 is incorrect.