Commit 2a97d6b2 by Andrew Haley Committed by Andrew Haley

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
parent c3f0f556
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> 2007-01-31 Kazu Hirata <kazu@codesourcery.com>
* class.c, jcf-parse.c: Fix comment typos. * class.c, jcf-parse.c: Fix comment typos.
......
...@@ -1449,6 +1449,8 @@ jcf_parse (JCF* jcf) ...@@ -1449,6 +1449,8 @@ jcf_parse (JCF* jcf)
{ {
int i, code; int i, code;
bitmap_clear (field_offsets);
if (jcf_parse_preamble (jcf) != 0) if (jcf_parse_preamble (jcf) != 0)
fatal_error ("not a valid Java .class file"); fatal_error ("not a valid Java .class file");
code = jcf_parse_constant_pool (jcf); code = jcf_parse_constant_pool (jcf);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment