Skip to content

Infinite loop in TermRenumber #484

@jodavies

Description

@jodavies

One of our save files causes an infinite loop in TermRenumber. It seems that term[0] and term[1] are 0, so *term does not match any of the cases, and t is set to term here:
https://github.com/vermaseren/form/blob/b1f9041b7bb6f5dd4a149c87e70922ad9914b291/sources/store.c#L2502
Then term is set back to t again here:
https://github.com/vermaseren/form/blob/b1f9041b7bb6f5dd4a149c87e70922ad9914b291/sources/store.c#L2559
and around we go again.

The save file is 100MB, so probably it is not to useful to attach it here...

Presumably the bug is in the saving rather than the loading. Possibly related to #420 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions