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

StackOverflow in ScriptFilter if scripting engine uses logging #3335

Open
ppkarwasz opened this issue Dec 27, 2024 · 1 comment
Open

StackOverflow in ScriptFilter if scripting engine uses logging #3335

ppkarwasz opened this issue Dec 27, 2024 · 1 comment
Labels
bug Incorrect, unexpected, or unintended behavior of existing code script Issues related to scripting

Comments

@ppkarwasz
Copy link
Contributor

If the scripting engine uses logging and Logger.isEnabled() calls a stack overflow might occur.

This problem occurs, e.g. in apache/logging-log4j-samples#251 if we use Nashorn and a global script.

@ppkarwasz ppkarwasz added bug Incorrect, unexpected, or unintended behavior of existing code script Issues related to scripting labels Dec 27, 2024
@ppkarwasz
Copy link
Contributor Author

This is similar to #1430

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect, unexpected, or unintended behavior of existing code script Issues related to scripting
Projects
None yet
Development

No branches or pull requests

1 participant