RFR (XS) 8064335: Null pointer dereference in hotspot/src/share/vm/classfile/verifier.cpp

harold seigel harold.seigel at oracle.com
Mon Dec 29 20:52:04 UTC 2014


Please review this small fix for bug 8064335.  The fix changes 
CHECK_VERIFY to CHECK, preventing a possible NULL value of ref_klass 
from being returned by load_class(), and then being fatally derefenced 
in the next statement.  The fix changes this call to load_class() to use 
CHECK, like the other verifier calls to load_class().

Open webrev:  http://cr.openjdk.java.net/~hseigel/bug_8064335/

JBS bug: https://bugs.openjdk.java.net/browse/JDK-8064335

The fix was tested with JCK lang and VM tests, hotspot JTReg, and NSK 
split_verifier tests.

Thanks, Harold

More information about the hotspot-runtime-dev mailing list