Changeset: ea79ab313e98
Author:    mgerdin
Date:      2013-10-30 15:35 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/ea79ab313e98

8027252: Crash in interpreter because get_unsigned_2_byte_index_at_bcp reads 4 
bytes
Summary: Use 2-byte loads to load indexes from the byte code stream to avoid 
out of bounds reads.
Reviewed-by: coleenp, sspitsyn

! src/cpu/x86/vm/interp_masm_x86_32.cpp
! src/cpu/x86/vm/interp_masm_x86_64.cpp
! src/cpu/x86/vm/templateTable_x86_32.cpp
! src/cpu/x86/vm/templateTable_x86_64.cpp

Reply via email to