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

redis: prevent infinite recursion when port is set to an env var #1452

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

sandydoo
Copy link
Member

Modules should take care not to conditionally set env using user-provided input. If the conditional is another env value, evaluation will fail with an infinite recursion error.

While the user can often easily break the loop on their end, knowing what to do requires considerable experience with the module system.

Fixes #1440.

Modules should take care not to conditionally set `env` using
user-provided input. If the conditional is another `env` value,
evaluation will fail with an infinite recursion error.

While the user can often easily break the loop on their end, knowing
what to do requires considerable experience with the module system.

Fixes #1440.
@sandydoo sandydoo added the bug Something isn't working label Sep 17, 2024
@domenkozar domenkozar merged commit 08dd75c into main Sep 17, 2024
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

redis: infinite recursion encountered
2 participants