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

core: add check for infinite loops #1588

Merged
merged 1 commit into from
Nov 10, 2023
Merged

Conversation

brharrington
Copy link
Contributor

If the :call operator is used recursively it can result in an infinite loop. This change adds some sanity checks for the call depth to quickly fail in these cases and indicate that a loop was detected.

If the `:call` operator is used recursively it can result
in an infinite loop. This change adds some sanity checks
for the call depth to quickly fail in these cases and
indicate that a loop was detected.
@brharrington brharrington added this to the 1.8.0 milestone Nov 10, 2023
@brharrington brharrington merged commit 33bd114 into Netflix:main Nov 10, 2023
3 checks passed
@brharrington brharrington deleted the loop branch November 10, 2023 13:44
manolama pushed a commit to manolama/atlas that referenced this pull request May 22, 2024
If the `:call` operator is used recursively it can result
in an infinite loop. This change adds some sanity checks
for the call depth to quickly fail in these cases and
indicate that a loop was detected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant