Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite loops in ExprTK expressions lock the engine #2626

Open
texodus opened this issue May 22, 2024 · 1 comment
Open

Infinite loops in ExprTK expressions lock the engine #2626

texodus opened this issue May 22, 2024 · 1 comment
Labels
bug Concrete, reproducible bugs

Comments

@texodus
Copy link
Member

texodus commented May 22, 2024

Bug Report

Steps to Reproduce:

  1. Create an ExprTK expression with an infinite loop, for (var i := 1; i;) {}. Don't save the expression or add it to the View, just type it in.

Expected Result:

Nothing, while clicking "save" is bad, this expression is valid.

Actual Result:

A miniature black hole is suddenly created without warning.

Environment:

Perspective 2.10.0, all languages.

@texodus texodus added the bug Concrete, reproducible bugs label May 22, 2024
@timkpaine
Copy link
Member

Xref #2104

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Concrete, reproducible bugs
Projects
None yet
Development

No branches or pull requests

2 participants