8007984: Null pointer dereference in jdk/linux-amd64/democlasses/demo/jvmti/heapTracker/src/java_crw_demo.c
authorjbachorik
Fri, 08 Nov 2013 08:47:39 +0100
changeset 21626 6124fbba6436
parent 21625 43b5aaf791aa
child 21627 5e31d6573ec2
8007984: Null pointer dereference in jdk/linux-amd64/democlasses/demo/jvmti/heapTracker/src/java_crw_demo.c Reviewed-by: dholmes
jdk/src/share/demo/jvmti/java_crw_demo/java_crw_demo.c
--- a/jdk/src/share/demo/jvmti/java_crw_demo/java_crw_demo.c	Thu Nov 07 22:30:06 2013 -0800
+++ b/jdk/src/share/demo/jvmti/java_crw_demo/java_crw_demo.c	Fri Nov 08 08:47:39 2013 +0100
@@ -263,8 +263,8 @@
         /* Normal operation should NEVER reach here */
         /* NO CRW FATAL ERROR HANDLER! */
         (void)fprintf(stderr, "CRW: %s [%s:%d]\n", message, file, line);
-        abort();
     }
+    abort();
 }
 
 #if defined(DEBUG) || !defined(NDEBUG)