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

Gerard Ziemski gerard.ziemski at oracle.com
Tue Dec 30 15:10:18 UTC 2014

Looks good.


On 12/29/2014 2:52 PM, harold seigel wrote:
> Hi,
> 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