8000 User creates code that produces an infinite loop · Issue #25 · kevmoens/Ellabit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

User creates code that produces an infinite loop #25

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

Open
kevmoens opened this issue Oct 20, 2022 · 6 comments
Open

User creates code that produces an infinite loop #25

kevmoens opened this issue Oct 20, 2022 · 6 comments

Comments

@kevmoens
Copy link
Owner

When a user creates code that produces an infinite loop the app crashes or hangs forever.
Find a way to handle this gracefully.
Could use SyntaxTree to put counters in loops and we could check for the count to see if we can throw an error.

@wolf-361
Copy link
Contributor

You could execute the user code with a time limit, I think it will be simpler

@kevmoens
Copy link
Owner Author

Give it a shot.

@DerrickSims
Copy link

is this issue still up for grabs?

@kevmoens
Copy link
Owner Author
kevmoens commented Dec 13, 2022 via email

@DerrickSims
Copy link

alright then, I'll be working on it this week to try and come up with a solution

@kevmoens
Copy link
Owner Author
kevmoens commented Dec 13, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
0