diff agent/src/share/native/sadis.c @ 6838:7a40901e0d5c

8000332: SA ClassDump throws exception after permgen removal Summary: In ClassWrite.writeFields(), fields count was mistakenly set to fields length which overflow the array index. Also removed a file which is leftover from 6879063 changeset. Reviewed-by: coleenp, sspitsyn Contributed-by: yumin.qi@oracle.com
author minqi
date Mon, 08 Oct 2012 16:48:52 -0700
parents 5a98bf7d847b
children 79f492f184d0
line wrap: on
line diff
--- a/agent/src/share/native/sadis.c	Sun Sep 30 23:24:12 2012 +0100
+++ b/agent/src/share/native/sadis.c	Mon Oct 08 16:48:52 2012 -0700
@@ -46,7 +46,7 @@
 
 #else
 
-#include <strings.h>
+#include <string.h>
 #include <dlfcn.h>
 #include <link.h>