[svn:parrot] r36417 - trunk/src
jerry gay
jerry.gay at gmail.com
Sat Feb 7 17:24:31 UTC 2009
On Sat, Feb 7, 2009 at 09:19, <petdance at svn.parrot.org> wrote:
> Author: petdance
> Date: Sat Feb 7 17:19:52 2009
> New Revision: 36417
> URL: https://trac.parrot.org/parrot/changeset/36417
>
> Log:
> Found an infinite loop
>
> Modified:
> trunk/src/exec_save.c
>
> Modified: trunk/src/exec_save.c
> ==============================================================================
> --- trunk/src/exec_save.c Sat Feb 7 13:52:28 2009 (r36416)
> +++ trunk/src/exec_save.c Sat Feb 7 17:19:52 2009 (r36417)
> @@ -558,6 +558,7 @@
> for (i = 0; i < obj->data.size; i++)
> fprintf(fp, "%c", obj->data.code[i]);
> /* Text rellocations */
> + /* XXX This is an infinite loop. When i = 0, i-- goes to very large. */
> for (i = obj->text_rellocation_count - 1; i >= 0; i--) {
> save_int(fp, obj->text_rellocation_table[i].offset);
> save_short(fp, obj->text_rellocation_table[i].symbol_number);
> _______________________________________________
> http://lists.parrot.org/mailman/listinfo/parrot-commits
>
this needs a trac ticket, and an updated comment pointing to one.
~jerry
More information about the parrot-dev
mailing list