re PR java/30641 (gcj corrupted double-linked list (glibc detected))

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

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

From-SVN: r121462
This commit is contained in:
Andrew Haley 2007-02-01 14:34:11 +00:00 committed by Andrew Haley
parent c3f0f556db
commit 2a97d6b20d
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-02-01 Andrew Haley <aph@redhat.com>
PR java/30641
* jcf-parse.c (jcf_parse): Clear the field_offsets bitmap.
2007-01-31 Kazu Hirata <kazu@codesourcery.com>
* class.c, jcf-parse.c: Fix comment typos.

View File

@ -1449,6 +1449,8 @@ jcf_parse (JCF* jcf)
{
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);