This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
PR java/20641: gcj corrupted double-linked list (glibc detected)
- From: Andrew Haley <aph at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Thu, 1 Feb 2007 14:14:06 +0000
- Subject: 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);