Skip to content

Using a negative number in repeat loop hangs the project #503

@adazem009

Description

@adazem009

The repeat loop uses size_t, which is unsigned long, to store the loop count. If a negative number is used, it stores a very high number in the variable since it's unsigned. Changing the type to e. g. long should be enough to fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Priority: CriticalbugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions