This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PR java/20641: gcj corrupted double-linked list (glibc detected)


I'd forgotten to clear a bitmap I created.

Andrew.


2007-02-01  Andrew Haley  <aph@redhat.com>

	PR java/20641
	* jcf-parse.c (jcf_parse): Clear the field_offsets bitmap.

Index: jcf-parse.c
===================================================================
--- jcf-parse.c	(revision 121283)
+++ jcf-parse.c	(working copy)
@@ -1449,6 +1449,8 @@
 {
   int i, code;
 
+  bitmap_clear (field_offsets);
+
   if (jcf_parse_preamble (jcf) != 0)
     fatal_error ("not a valid Java .class file");
   code = jcf_parse_constant_pool (jcf);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]