Skip to content

Infinite loops in expressions crash the fiddle and homepage on pest.rs #66

@LewisHein5

Description

@LewisHein5

How to reproduce:

  • 1 For your sanity, open an anonymous browsing window.
  • 2 Navigate to https://pest.rs/#editor
  • 3 Enter the following text into the editor: field = {"-"? ~ PUSH("."?) ~ (ASCII_DIGIT | PEEK)+}
  • 4 The page will become unresponsive, I assume it is stuck running an infinite loop in the WASM VM but have not tested this hypothesis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions