United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6756528 Bytecodes::special_length_at reads past end of code buffer
6756528 : Bytecodes::special_length_at reads past end of code buffer

Details
Type:
Bug
Submit Date:
2008-10-06
Status:
Closed
Updated Date:
2012-10-08
Project Name:
JDK
Resolved Date:
2008-11-19
Component:
hotspot
OS:
generic
Sub-Component:
runtime
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u8
Fixed Versions:
hs14

Related Reports
Backport:
Backport:

Sub Tasks

Description
Bytecodes::special_length_at does not check for the end of the buffer before reading from memory.  This can cause uninitialized or even unmapped memory to be read.  The attached test triggers this condition using tableswitch.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/c7ec737733a6
                                     
2008-10-31



Hardware and Software, Engineered to Work Together